Skip to content
Snippets Groups Projects
Commit fe7fa8e7 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Added DllMain() function for Watcom.

parent 6a175b42
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,19 @@
#include "ares.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__
int
ares_strncasecmp(const char *a, const char *b, int n)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment