mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19: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>
|
||||
|
||||
# define ONLY_ON_WINDOWS(x) x
|
||||
|
||||
# ifndef ENOTCONN
|
||||
# define ENOTCONN WSAENOTCONN
|
||||
# endif
|
||||
#else
|
||||
# include <netdb.h>
|
||||
# include <sys/socket.h>
|
||||
|
Loading…
Reference in New Issue
Block a user