Added DllMain() function for Watcom.
This commit is contained in:
parent
6a175b42db
commit
fe7fa8e794
@ -20,6 +20,19 @@
|
|||||||
#include "ares.h"
|
#include "ares.h"
|
||||||
#include "ares_private.h"
|
#include "ares_private.h"
|
||||||
|
|
||||||
|
#ifdef __WATCOMC__
|
||||||
|
/* Watcom needs a DlMain() in order to initialise the clib startup code.
|
||||||
|
*/
|
||||||
|
BOOL
|
||||||
|
DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
|
||||||
|
{
|
||||||
|
(void) hnd;
|
||||||
|
(void) reason;
|
||||||
|
(void) reserved;
|
||||||
|
return (TRUE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
int
|
int
|
||||||
ares_strncasecmp(const char *a, const char *b, int n)
|
ares_strncasecmp(const char *a, const char *b, int n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user