lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #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 | */ | ||||
12 | BOOL | ||||
13 | WINAPI 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 */ |