Use extern "C" for Winelib C++ apps.
This commit is contained in:
parent
a247086cfc
commit
be98c7b1b3
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue