mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-23 08:29:15 +00:00
Add new platform thread callbacks for Windows RT usage to avoid banned APIs
This commit is contained in:
@@ -80,7 +80,7 @@ int enableNoDelay(SOCKET s) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int initializePlatformSockets(void) {
|
||||
int initializePlatformSockets(PPLATFORM_CALLBACKS plCallbacks) {
|
||||
#if defined(LC_WINDOWS) || defined(LC_WINDOWS_PHONE)
|
||||
WSADATA data;
|
||||
return WSAStartup(MAKEWORD(2, 0), &data);
|
||||
|
||||
Reference in New Issue
Block a user