mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
No WSAGetLastError() on Watt-32/DOS
This commit is contained in:
parent
7b97371ab1
commit
fa83a0573e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user