FS-10167: Some fixes to get the windows release build working, and fixed a mistake with asserting on executed statements which would get compiled out for release builds

This commit is contained in:
Shane Bryldt committed 2017-04-21 16:27:39 -06:00
1 parent a8a935d64f
commit 6515bc729c
12 files changed
+27 -24

No files matched your search

+3 -2
View File
@@ -80,8 +80,9 @@ KS_DECLARE(ks_status_t) ks_init(void)
#ifdef __WINDOWS__
WSADATA wsaData;
WORD wVersionRequested = MAKEWORD(2, 2);
ks_assert(!WSAStartup(wVersionRequested, &wsaData));
if (WSAStartup(wVersionRequested, &wsaData)) {
abort();
}
#endif
return KS_STATUS_SUCCESS;