blob: 22f0dc020a0730a78fb77c503b8f334ea575afe4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**********************************************************************
*
* Copyright (c) 1998 Massachusetts Institute of Technology
* Copyright (C) Daniel Stenberg
*
* SPDX-License-Identifier: MIT
*
*/
#include "ares_private.h"
/* only do the following on windows
*/
#if defined(_WIN32) && !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 */
|