Blame windows_port.c

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