include: Added prototype for DllMain.

This commit is contained in:
Alexandre Julliard 2006-06-12 16:18:17 +02:00
parent 9936feef07
commit 1053eccb36
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -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