Use extern "C" for Winelib C++ apps.

This commit is contained in:
Jon Griffiths 2001-02-12 03:38:46 +00:00 committed by Alexandre Julliard
parent a247086cfc
commit be98c7b1b3
1 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,10 @@
#ifndef _INC_PROCESS #ifndef _INC_PROCESS
#define _INC_PROCESS #define _INC_PROCESS
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*LPBEGINTHREAD)(LPVOID); typedef void (*LPBEGINTHREAD)(LPVOID);
typedef UINT WINAPI (*LPBEGINTHREADEX)(LPVOID); typedef UINT WINAPI (*LPBEGINTHREADEX)(LPVOID);
@ -15,4 +19,8 @@ void _endthread(void);
ULONG _beginthreadex(LPVOID,UINT,LPBEGINTHREADEX,LPVOID,UINT,LPUINT); ULONG _beginthreadex(LPVOID,UINT,LPBEGINTHREADEX,LPVOID,UINT,LPUINT);
void _endthreadex(UINT); void _endthreadex(UINT);
#ifdef __cplusplus
}
#endif
#endif /* _INC_PROCESS */ #endif /* _INC_PROCESS */