Changeset 21709


Ignore:
Timestamp:
Oct 18, 2011, 7:26:03 PM (13 years ago)
Author:
dmik
Message:

Force extern "C" for API declarations.

Seems that IBM VAC implied that for stdcall ones. GCC doesn't do that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/gcc-kmk/include/os2wrap.h

    r21703 r21709  
    2424#endif
    2525
     26#ifdef __cplusplus
     27extern "C" {
     28#endif
     29
    2630#ifdef INCL_DOSMEMMGR
    2731
     
    62196223#endif
    62206224
    6221 #endif
     6225#ifdef __cplusplus
     6226} // extern "C"
     6227#endif
     6228
     6229#endif
Note: See TracChangeset for help on using the changeset viewer.