diff --git a/linkhash.h b/linkhash.h index e00fd4b..c120297 100644 --- a/linkhash.h +++ b/linkhash.h @@ -348,11 +348,11 @@ int lh_table_resize(struct lh_table *t, int new_size); /** * @deprecated Don't use this outside of linkhash.h: */ -#if (!defined(_MSC_VER) && !defined(AIX_CC)) || (_MSC_VER > 1800) +#if (defined(AIX_CC) || (defined(_MSC_VER) && (_MSC_VER <= 1800)) ) /* VS2010 can't handle inline funcs, so skip it there */ -#define _LH_INLINE inline -#else #define _LH_INLINE +#else +#define _LH_INLINE inline #endif /**