Fix GCC build
This commit is contained in:
parent
1b642fec73
commit
2660a05084
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue