blob: 03acd1c1e2b701af6bb0a118f7785a8a39fd7356 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include "ares_setup.h"
2
3
4/* only do the following on windows
5 */
6#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
7
8#ifdef __WATCOMC__
9/*
10 * Watcom needs a DllMain() in order to initialise the clib startup code.
11 */
12BOOL
13WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
14{
15 (void) hnd;
16 (void) reason;
17 (void) reserved;
18 return (TRUE);
19}
20#endif
21
22#endif /* WIN32 builds only */