mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:47:17 +03:00
No WSAGetLastError() on Watt-32/DOS
This commit is contained in:
parent
7b97371ab1
commit
fa83a0573e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue