mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 05:19:07 +08:00
Apply the fix from @pointbre in issue #626 to skip "inline" on AIX, but invert the test to make it a little easier to understand.
(cherry picked from commit 1c6086a86a)
This commit is contained in:
@@ -348,11 +348,11 @@ int lh_table_resize(struct lh_table *t, int new_size);
|
|||||||
/**
|
/**
|
||||||
* @deprecated Don't use this outside of linkhash.h:
|
* @deprecated Don't use this outside of linkhash.h:
|
||||||
*/
|
*/
|
||||||
#if !defined(_MSC_VER) || (_MSC_VER > 1800)
|
#if (defined(AIX_CC) || (defined(_MSC_VER) && (_MSC_VER <= 1800)) )
|
||||||
/* VS2010 can't handle inline funcs, so skip it there */
|
/* VS2010 can't handle inline funcs, so skip it there */
|
||||||
#define _LH_INLINE inline
|
|
||||||
#else
|
|
||||||
#define _LH_INLINE
|
#define _LH_INLINE
|
||||||
|
#else
|
||||||
|
#define _LH_INLINE inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user