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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.