No WSAGetLastError() on Watt-32/DOS

pull/1/head
Gisle Vanem 21 years ago
parent 9882a12fea
commit 32fded8229
  1. 2
      ares_process.c

@ -42,7 +42,7 @@
#include "ares_dns.h" #include "ares_dns.h"
#include "ares_private.h" #include "ares_private.h"
#if defined(WIN32) || defined(WATT32) #if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#define GET_ERRNO() WSAGetLastError() #define GET_ERRNO() WSAGetLastError()
#else #else
#define GET_ERRNO() errno #define GET_ERRNO() errno

Loading…
Cancel
Save