mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix ENAMETOOLONG and ENOTEMPTY may already be defined in errno.h
This commit is contained in:
parent
2691f1efc8
commit
ec9e399668
@ -27,6 +27,13 @@
|
|||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Inclusion of common header files.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we have the MSG_NOSIGNAL define, make sure we use
|
* If we have the MSG_NOSIGNAL define, make sure we use
|
||||||
* it as the fourth argument of function send()
|
* it as the fourth argument of function send()
|
||||||
@ -219,10 +226,14 @@ typedef int sig_atomic_t;
|
|||||||
#define ETIMEDOUT WSAETIMEDOUT
|
#define ETIMEDOUT WSAETIMEDOUT
|
||||||
#define ECONNREFUSED WSAECONNREFUSED
|
#define ECONNREFUSED WSAECONNREFUSED
|
||||||
#define ELOOP WSAELOOP
|
#define ELOOP WSAELOOP
|
||||||
|
#ifndef ENAMETOOLONG /* possible previous definition in errno.h */
|
||||||
#define ENAMETOOLONG WSAENAMETOOLONG
|
#define ENAMETOOLONG WSAENAMETOOLONG
|
||||||
|
#endif
|
||||||
#define EHOSTDOWN WSAEHOSTDOWN
|
#define EHOSTDOWN WSAEHOSTDOWN
|
||||||
#define EHOSTUNREACH WSAEHOSTUNREACH
|
#define EHOSTUNREACH WSAEHOSTUNREACH
|
||||||
|
#ifndef ENOTEMPTY /* possible previous definition in errno.h */
|
||||||
#define ENOTEMPTY WSAENOTEMPTY
|
#define ENOTEMPTY WSAENOTEMPTY
|
||||||
|
#endif
|
||||||
#define EPROCLIM WSAEPROCLIM
|
#define EPROCLIM WSAEPROCLIM
|
||||||
#define EUSERS WSAEUSERS
|
#define EUSERS WSAEUSERS
|
||||||
#define EDQUOT WSAEDQUOT
|
#define EDQUOT WSAEDQUOT
|
||||||
|
@ -34,6 +34,13 @@
|
|||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Inclusion of common header files.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we have the MSG_NOSIGNAL define, make sure we use
|
* If we have the MSG_NOSIGNAL define, make sure we use
|
||||||
* it as the fourth argument of function send()
|
* it as the fourth argument of function send()
|
||||||
@ -226,10 +233,14 @@ typedef int sig_atomic_t;
|
|||||||
#define ETIMEDOUT WSAETIMEDOUT
|
#define ETIMEDOUT WSAETIMEDOUT
|
||||||
#define ECONNREFUSED WSAECONNREFUSED
|
#define ECONNREFUSED WSAECONNREFUSED
|
||||||
#define ELOOP WSAELOOP
|
#define ELOOP WSAELOOP
|
||||||
|
#ifndef ENAMETOOLONG /* possible previous definition in errno.h */
|
||||||
#define ENAMETOOLONG WSAENAMETOOLONG
|
#define ENAMETOOLONG WSAENAMETOOLONG
|
||||||
|
#endif
|
||||||
#define EHOSTDOWN WSAEHOSTDOWN
|
#define EHOSTDOWN WSAEHOSTDOWN
|
||||||
#define EHOSTUNREACH WSAEHOSTUNREACH
|
#define EHOSTUNREACH WSAEHOSTUNREACH
|
||||||
|
#ifndef ENOTEMPTY /* possible previous definition in errno.h */
|
||||||
#define ENOTEMPTY WSAENOTEMPTY
|
#define ENOTEMPTY WSAENOTEMPTY
|
||||||
|
#endif
|
||||||
#define EPROCLIM WSAEPROCLIM
|
#define EPROCLIM WSAEPROCLIM
|
||||||
#define EUSERS WSAEUSERS
|
#define EUSERS WSAEUSERS
|
||||||
#define EDQUOT WSAEDQUOT
|
#define EDQUOT WSAEDQUOT
|
||||||
|
Loading…
Reference in New Issue
Block a user