Fix GCC build

This commit is contained in:
Cameron Gutman 2021-07-01 22:28:17 -05:00
parent 1b642fec73
commit 2660a05084

View File

@ -305,7 +305,7 @@ int setSocketNonBlocking(SOCKET s, bool enabled) {
int val = enabled ? 1 : 0; int val = enabled ? 1 : 0;
return ioctlsocket(s, FIONBIO, &val); return ioctlsocket(s, FIONBIO, &val);
#else #else
#error Please define your platform's non-blocking sockets API! #error Please define your platform non-blocking sockets API!
#endif #endif
} }