Ignore:
Timestamp:
Oct 18, 2011, 6:56:51 PM (14 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
  • branches/gcc-kmk/include/win32api.h

    r21602 r21702  
    1111#include <win32type.h>
    1212#include <winconst.h>
     13
     14#ifdef __cplusplus
     15extern "C" {
     16#endif
    1317
    1418void   WIN32API SetLastError(DWORD dwError);
     
    263267BOOL      WINAPI IsDBCSLeadByte(BYTE);
    264268
     269#ifdef __cplusplus
     270} // extern "C"
    265271#endif
     272
     273#endif
Note: See TracChangeset for help on using the changeset viewer.