Ignore:
Timestamp:
Mar 23, 2011, 5:48:24 PM (14 years ago)
Author:
dmik
Message:

headers: VAC <= 3.0 doesn't understand _inline in C mode, so use _Inline instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/os2wrap.h

    r21424 r21597  
    1111#include <os2newapi.h>
    1212
    13 #if (__IBMC__ > 300)
    14 // VA3.6: inline is a C++ keyword, must be translated to _inline or _Inline or __inline in C code
    15 #define inline _inline
     13// VAC: inline is a C++ keyword, must be translated to _Inline in C code
     14#if (defined(__IBMCPP__) || defined(__IBMC__))
     15#ifndef __cplusplus
     16#define inline  _Inline
     17#endif
    1618#endif
    1719
Note: See TracChangeset for help on using the changeset viewer.