Commit fa83a057 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

No WSAGetLastError() on Watt-32/DOS

parent 7b97371a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#include "ares_dns.h"
#include "ares_private.h"

#if defined(WIN32) || defined(WATT32)
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#define GET_ERRNO()  WSAGetLastError()
#else
#define GET_ERRNO()  errno