diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-10-01 13:47:03 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-10-01 13:47:03 +0200 |
commit | 4e71c5b685da4162c8271baf820ba8312dd7c90c (patch) | |
tree | 0c879f9a011554c5c531686eea01e425f9ce5f30 /dep/CascLib/src/common/Sockets.cpp | |
parent | 4d153b6cb9d633408047e19f28428c52db3d81f6 (diff) |
Dep/CascLib: Update to ladislav-zezula/CascLib@4fc4c18bd5a49208337199a7f4256271675cae44
Diffstat (limited to 'dep/CascLib/src/common/Sockets.cpp')
-rw-r--r-- | dep/CascLib/src/common/Sockets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/CascLib/src/common/Sockets.cpp b/dep/CascLib/src/common/Sockets.cpp index e1f58f6f79c..dee5643d42e 100644 --- a/dep/CascLib/src/common/Sockets.cpp +++ b/dep/CascLib/src/common/Sockets.cpp @@ -111,7 +111,7 @@ void CASC_SOCKET::Release() int CASC_SOCKET::GetSockError() { -#ifdef PLATFORM_WINDOWS +#ifdef CASCLIB_PLATFORM_WINDOWS return WSAGetLastError(); #else return errno; @@ -134,7 +134,7 @@ DWORD CASC_SOCKET::GetAddrInfoWrapper(const char * hostName, unsigned portNum, P // Error-specific handling switch(dwErrCode) { -#ifdef PLATFORM_WINDOWS +#ifdef CASCLIB_PLATFORM_WINDOWS case WSANOTINITIALISED: // Windows-specific: WSAStartup not called { WSADATA wsd; |