From 9d864b1182b5a28e3e225692c2c3604b30efbe15 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 3 Oct 2014 06:44:30 -0600 Subject: [PATCH] fix UDP improvement for Windows --- racket/src/racket/src/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/racket/src/network.c b/racket/src/racket/src/network.c index 5ba7f95dca..42116e02cf 100644 --- a/racket/src/racket/src/network.c +++ b/racket/src/racket/src/network.c @@ -98,7 +98,7 @@ struct SOCKADDR_IN { # define SOCK_ERRNO() WSAGetLastError() # define WAS_EAGAIN(e) ((e == WSAEWOULDBLOCK) || (e == WSAEINPROGRESS)) # define WAS_WSAEMSGSIZE(e) (e == WSAEMSGSIZE) -# define WAS_ECONNREFUSED(e) (e == ECONNREFUSED) +# define WAS_ECONNREFUSED(e) (e == WSAECONNREFUSED) # define WAS_EBADADDRESS(e) 0 # define mz_AFNOSUPPORT WSAEAFNOSUPPORT extern int scheme_stupid_windows_machine;