mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
define ENOTCONN if necessary on Windows
This commit is contained in:
parent
65f6431de0
commit
d1eb8c5d11
@ -25,6 +25,10 @@
|
|||||||
# include <winsock2.h>
|
# include <winsock2.h>
|
||||||
|
|
||||||
# define ONLY_ON_WINDOWS(x) x
|
# define ONLY_ON_WINDOWS(x) x
|
||||||
|
|
||||||
|
# ifndef ENOTCONN
|
||||||
|
# define ENOTCONN WSAENOTCONN
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user