From 1c0a015cc85824cd22381741f2cd0c1614e61809 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 30 Apr 2020 13:26:14 -0500 Subject: [PATCH] s/WSALastError/WSAGetLastError()/g --- src/core/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/net.c b/src/core/net.c index 1e092a7a..0ab84500 100644 --- a/src/core/net.c +++ b/src/core/net.c @@ -69,7 +69,7 @@ typedef struct { } JanetStream; #define JSOCKCLOSE(x) closesocket(x) #define JSOCKDEFAULT INVALID_SOCKET -#define JLASTERR WSALastError() +#define JLASTERR WSAGetLastError() #define JSOCKVALID(x) ((x) != INVALID_SOCKET) #define JEINTR WSAEINTR #define JEWOULDBLOCK WSAEWOULDBLOCK