From 11b9a97b34376b33354aa90abbc313830c66204a Mon Sep 17 00:00:00 2001 From: pointbre Date: Fri, 29 May 2020 08:13:57 +1200 Subject: [PATCH] Update linkhash.h to fix bug --- linkhash.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/linkhash.h b/linkhash.h index dfdcb13..e00fd4b 100644 --- a/linkhash.h +++ b/linkhash.h @@ -348,10 +348,7 @@ int lh_table_resize(struct lh_table *t, int new_size); /** * @deprecated Don't use this outside of linkhash.h: */ -/* on AIX, cc doesn't like this */ -#if AIX_CC -#define _LH_INLINE -#elif !defined(_MSC_VER) || (_MSC_VER > 1800) +#if (!defined(_MSC_VER) && !defined(AIX_CC)) || (_MSC_VER > 1800) /* VS2010 can't handle inline funcs, so skip it there */ #define _LH_INLINE inline #else