We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b73916 + 6aab3da commit a304464Copy full SHA for a304464
linkhash.h
@@ -334,8 +334,9 @@ int lh_table_resize(struct lh_table *t, int new_size);
334
/**
335
* @deprecated Don't use this outside of linkhash.h:
336
*/
337
-#if (defined(AIX_CC) || (defined(_MSC_VER) && (_MSC_VER <= 1800)) )
338
-/* VS2010 can't handle inline funcs, so skip it there */
+#if !defined (__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
+/* C89 compilers like VS2010 can't handle inline funcs, so skip it there,
339
+ note: this also applies to -std=c89 in GCC! */
340
#define _LH_INLINE
341
#else
342
#define _LH_INLINE inline
0 commit comments