mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
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:
1 parent
a8a935d64f
commit
6515bc729c
12 files changed
+27
-24
No files matched your search
+3
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user