initialize netSystem (aka winsock on windows) explicitely

This commit is contained in:
Benjamin Sergeant committed 2019-04-26 11:52:47 -07:00
1 parent 22fcdc0e2e
commit 9936260711
3 files changed
+46 -35

No files matched your search

+6
View File
@@ -7,8 +7,14 @@
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include <ixwebsocket/IXNetSystem.h>
int main(int argc, char* argv[])
{
ix::initNetSystem();
int result = Catch::Session().run(argc, argv);
ix::uninitNetSystem();
return result;
}