grpc
third_party
cares
cares
src
lib
windows_port.c
Go to the documentation of this file.
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 */
TRUE
const BOOL TRUE
Definition:
undname.c:48
BOOL
int BOOL
Definition:
undname.c:46
ares_setup.h
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:53