From d1eb8c5d118b1aeaf4e96b560a92b3bf668da778 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 8 Jan 2014 15:00:52 -0700 Subject: [PATCH] define ENOTCONN if necessary on Windows --- classpath/sockets.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classpath/sockets.h b/classpath/sockets.h index 538aa50fa5..bc4bd3bcfe 100644 --- a/classpath/sockets.h +++ b/classpath/sockets.h @@ -25,6 +25,10 @@ # include # define ONLY_ON_WINDOWS(x) x + +# ifndef ENOTCONN +# define ENOTCONN WSAENOTCONN +# endif #else # include # include