mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix GCC build
This commit is contained in:
parent
1b642fec73
commit
2660a05084
@ -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…
x
Reference in New Issue
Block a user