No WSAGetLastError() on Watt-32/DOS

This commit is contained in:
Gisle Vanem 2004-08-20 14:07:11 +00:00
parent 7b97371ab1
commit fa83a0573e

View File

@ -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