Browse Source

Build issue on AIX 6.1 and cc V11.1

pull/626/head
pointbre 5 years ago
parent
commit
a11d947c6a
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      linkhash.h

+ 4
- 1
linkhash.h View File

@@ -348,7 +348,10 @@ 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)
/* on AIX, cc doesn't like this */
#if AIX_CC
#define _LH_INLINE
#elif !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 #define _LH_INLINE inline
#else #else


Loading…
Cancel
Save