curl/ares/windows_port.c
2008-09-17 01:02:57 +00:00

24 lines
409 B
C

#include "setup.h"
/* $Id$ */
/* only do the following on windows
*/
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#ifdef __WATCOMC__
/*
* Watcom needs a DllMain() in order to initialise the clib startup code.
*/
BOOL
WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
{
(void) hnd;
(void) reason;
(void) reserved;
return (TRUE);
}
#endif
#endif /* WIN32 builds only */