summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windows_port.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/windows_port.c b/windows_port.c
index 6086024..2d84274 100644
--- a/windows_port.c
+++ b/windows_port.c
@@ -21,10 +21,11 @@
#include "ares_private.h"
#ifdef __WATCOMC__
-/* Watcom needs a DlMain() in order to initialise the clib startup code.
+/*
+ * Watcom needs a DlMain() in order to initialise the clib startup code.
*/
BOOL
-DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
+WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
{
(void) hnd;
(void) reason;