aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r--src/microhttpd/mhd_sockets.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 5560c0f8..a53037ec 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -605,6 +605,21 @@ typedef int MHD_SCKT_SEND_SIZE_;
605# else /* ! ENETDOWN */ 605# else /* ! ENETDOWN */
606# define MHD_SCKT_ENETDOWN_ MHD_SCKT_MISSING_ERR_CODE_ 606# define MHD_SCKT_ENETDOWN_ MHD_SCKT_MISSING_ERR_CODE_
607# endif /* ! ENETDOWN */ 607# endif /* ! ENETDOWN */
608# ifdef EALREADY
609# define MHD_SCKT_EALREADY_ EALREADY
610# else /* ! EALREADY */
611# define MHD_SCKT_EALREADY_ MHD_SCKT_MISSING_ERR_CODE_
612# endif /* ! EALREADY */
613# ifdef EINPROGRESS
614# define MHD_SCKT_EINPROGRESS_ EINPROGRESS
615# else /* ! EINPROGRESS */
616# define MHD_SCKT_EINPROGRESS_ MHD_SCKT_MISSING_ERR_CODE_
617# endif /* ! EINPROGRESS */
618# ifdef EISCONN
619# define MHD_SCKT_EISCONN_ EISCONN
620# else /* ! EISCONN */
621# define MHD_SCKT_EISCONN_ MHD_SCKT_MISSING_ERR_CODE_
622# endif /* ! EISCONN */
608#elif defined(MHD_WINSOCK_SOCKETS) 623#elif defined(MHD_WINSOCK_SOCKETS)
609# define MHD_SCKT_EAGAIN_ WSAEWOULDBLOCK 624# define MHD_SCKT_EAGAIN_ WSAEWOULDBLOCK
610# define MHD_SCKT_EWOULDBLOCK_ WSAEWOULDBLOCK 625# define MHD_SCKT_EWOULDBLOCK_ WSAEWOULDBLOCK
@@ -627,6 +642,9 @@ typedef int MHD_SCKT_SEND_SIZE_;
627# define MHD_SCKT_EOPNOTSUPP_ WSAEOPNOTSUPP 642# define MHD_SCKT_EOPNOTSUPP_ WSAEOPNOTSUPP
628# define MHD_SCKT_EACCESS_ WSAEACCES 643# define MHD_SCKT_EACCESS_ WSAEACCES
629# define MHD_SCKT_ENETDOWN_ WSAENETDOWN 644# define MHD_SCKT_ENETDOWN_ WSAENETDOWN
645# define MHD_SCKT_EALREADY_ WSAEALREADY
646# define MHD_SCKT_EINPROGRESS_ WSAEACCES
647# define MHD_SCKT_EISCONN_ WSAEISCONN
630#endif 648#endif
631 649
632/** 650/**