include: Added prototype for DllMain.
This commit is contained in:
parent
9936feef07
commit
1053eccb36
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
|
||||||
static void (*__glutExitFunc)(int ret) = 0;
|
static void (*__glutExitFunc)(int ret) = 0;
|
||||||
|
|
||||||
|
|
|
@ -2344,6 +2344,11 @@ static inline PVOID WINAPI InterlockedExchangePointer( PVOID volatile *dest, PVO
|
||||||
/* If this is not declared, we cannot compile many sources written with C++. */
|
/* If this is not declared, we cannot compile many sources written with C++. */
|
||||||
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
|
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
|
||||||
|
|
||||||
|
#ifdef __WINESRC__
|
||||||
|
/* shouldn't be here, but is nice for type checking */
|
||||||
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue