Use correct calling convention.

pull/1/head
Gisle Vanem 18 years ago
parent b6c4466641
commit 6a3e5617d7
  1. 5
      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;

Loading…
Cancel
Save