initialize netSystem (aka winsock on windows) explicitely
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user