Changeset 21702 for branches/gcc-kmk/src


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/src/kernel32/profile.h

    r10528 r21702  
    1414#define ODINININAME "ODIN.INI"
    1515
    16 void WINAPI WriteOutProfiles(void);
     16#ifdef __cplusplus
     17extern "C" {
     18#endif
     19
    1720int WINAPI PROFILE_Initialize (void);
    18 int WINAPI PROFILE_LoadOdinIni(void);
    1921
    2022#ifdef DEBUG
     
    4547#endif
    4648
    47 #include <win\options.h> //for odin profile apis
     49#ifdef __cplusplus
     50} // extern "C"
     51#endif
     52
     53#include <win/options.h> //for odin profile apis
    4854
    4955#endif
Note: See TracChangeset for help on using the changeset viewer.