1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 09:47:17 +00:00

s/WSALastError/WSAGetLastError()/g

This commit is contained in:
Calvin Rose 2020-04-30 13:26:14 -05:00
parent bee415217d
commit 1c0a015cc8

View File

@ -69,7 +69,7 @@ typedef struct {
} JanetStream; } JanetStream;
#define JSOCKCLOSE(x) closesocket(x) #define JSOCKCLOSE(x) closesocket(x)
#define JSOCKDEFAULT INVALID_SOCKET #define JSOCKDEFAULT INVALID_SOCKET
#define JLASTERR WSALastError() #define JLASTERR WSAGetLastError()
#define JSOCKVALID(x) ((x) != INVALID_SOCKET) #define JSOCKVALID(x) ((x) != INVALID_SOCKET)
#define JEINTR WSAEINTR #define JEINTR WSAEINTR
#define JEWOULDBLOCK WSAEWOULDBLOCK #define JEWOULDBLOCK WSAEWOULDBLOCK