diff options
author | Brad King <brad.king@kitware.com> | 2015-10-21 11:51:56 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-26 08:59:26 -0400 |
commit | 4db7019c9321ed43d4804ba8bc1aaca1b866f31a (patch) | |
tree | ed61ab6d49a38dbaed5f79c1451a46b2633bc4e7 /libarchive/archive_endian.h | |
parent | a46ec9a0bcb291614bf71a1fe352f86416d77e14 (diff) | |
download | libarchive-4db7019c9321ed43d4804ba8bc1aaca1b866f31a.tar.gz |
Update 'inline' portability for old IBM and Sun compilers
Diffstat (limited to 'libarchive/archive_endian.h')
-rw-r--r-- | libarchive/archive_endian.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libarchive/archive_endian.h b/libarchive/archive_endian.h index 750e190b..a656405f 100644 --- a/libarchive/archive_endian.h +++ b/libarchive/archive_endian.h @@ -44,9 +44,15 @@ * - Watcom C++ in C code. (For any version?) * - SGI MIPSpro * - Microsoft Visual C++ 6.0 (supposedly newer versions too) + * - IBM VisualAge 6 (XL v6) + * - Sun WorkShop C (SunPro) before 5.9 */ #if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__) #define inline +#elif defined(__IBMC__) && __IBMC__ < 700 +#define inline +#elif defined(__SUNPRO_C) && __SUNPRO_C < 0x590 +#define inline #elif defined(_MSC_VER) #define inline __inline #endif |