libarchive: Avoid 'inline' keyword on XL C v6 (#13148)
This commit is contained in:
parent
a8995ebe35
commit
09a91c6d5a
|
@ -44,9 +44,12 @@
|
||||||
* - Watcom C++ in C code. (For any version?)
|
* - Watcom C++ in C code. (For any version?)
|
||||||
* - SGI MIPSpro
|
* - SGI MIPSpro
|
||||||
* - Microsoft Visual C++ 6.0 (supposedly newer versions too)
|
* - Microsoft Visual C++ 6.0 (supposedly newer versions too)
|
||||||
|
* - IBM VisualAge 6 (XL v6)
|
||||||
*/
|
*/
|
||||||
#if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__)
|
#if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__)
|
||||||
#define inline
|
#define inline
|
||||||
|
#elif defined(__IBMC__) && __IBMC__ < 700
|
||||||
|
#define inline
|
||||||
#elif defined(_MSC_VER) || defined(__osf__)
|
#elif defined(_MSC_VER) || defined(__osf__)
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue