aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/c-ares/windows_port.c
blob: 4a2e7f8d99e76edefc4ff25d68c61a3798b7fcdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 */