Ignore:
Timestamp:
Nov 3, 2011, 7:45:31 PM (14 years ago)
Author:
dmik
Message:

Extern "C".

Mostly, to fix the GCC bug with stdcall not suppressing C++ mangling.

Location:
branches/gcc-kmk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/win/global.h

    r4 r21790  
    1818    int shmid;
    1919} SHMDATA;
     20
     21#ifdef __cplusplus
     22extern "C" {
     23#endif
    2024
    2125/* memory/global.c */
     
    4549extern BOOL ATOM_Init( WORD globalTableSel );
    4650
     51#ifdef __cplusplus
     52} // extern "C"
     53#endif
     54
    4755#endif  /* __WINE_GLOBAL_H */
  • branches/gcc-kmk/include/win/virtual.h

    r7566 r21790  
    88#define __VIRTUAL_H
    99
     10#ifdef __cplusplus
     11extern "C" {
     12#endif
     13
    1014HANDLE WINAPI VIRTUAL_MapFileA( LPCSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE);
    1115HANDLE WINAPI VIRTUAL_MapFileW( LPCWSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE);
     
    1418                          DWORD  fdwProtect, LPSTR name);
    1519
     20#ifdef __cplusplus
     21} // extern "C"
     22#endif
     23
    1624#endif  /* __VIRTUAL_H */
Note: See TracChangeset for help on using the changeset viewer.