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/os2mewrap.h

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