diff options
author | Brad King <brad.king@kitware.com> | 2012-04-19 13:49:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-04-19 13:49:43 (GMT) |
commit | 09a91c6d5a2533ed2bccd116fcdb87458d602a98 (patch) | |
tree | 2fb636798d4d1f2b738aef86852bab41abe2fc0a /Utilities | |
parent | a8995ebe35885f9170cc3856d3208c813fb8e451 (diff) | |
download | CMake-09a91c6d5a2533ed2bccd116fcdb87458d602a98.zip CMake-09a91c6d5a2533ed2bccd116fcdb87458d602a98.tar.gz CMake-09a91c6d5a2533ed2bccd116fcdb87458d602a98.tar.bz2 |
libarchive: Avoid 'inline' keyword on XL C v6 (#13148)
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_endian.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_endian.h b/Utilities/cmlibarchive/libarchive/archive_endian.h index 1dd8536..c3c78b3 100644 --- a/Utilities/cmlibarchive/libarchive/archive_endian.h +++ b/Utilities/cmlibarchive/libarchive/archive_endian.h @@ -44,9 +44,12 @@ * - Watcom C++ in C code. (For any version?) * - SGI MIPSpro * - Microsoft Visual C++ 6.0 (supposedly newer versions too) + * - IBM VisualAge 6 (XL v6) */ #if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__) #define inline +#elif defined(__IBMC__) && __IBMC__ < 700 +#define inline #elif defined(_MSC_VER) || defined(__osf__) #define inline __inline #endif |