allwinner_a64/android/external/c-ares/windows_port.c
2018-08-08 16:14:42 +08:00

22 lines
403 B
C

#include "ares_setup.h"
/* 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 */