- try to fix the build
This commit is contained in:
parent
798777f313
commit
f1c372c7b5
|
@ -127,7 +127,7 @@ static FileCRCPreCacheThread *preCacheThread = NULL;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
static string runtimeErrorMsg = "";
|
static string runtimeErrorMsg = "";
|
||||||
// keeps in scope for duration of the application
|
// keeps in scope for duration of the application
|
||||||
SocketManager *winSockManager = NULL;
|
//SocketManager *winSockManager = NULL;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -5946,6 +5946,12 @@ void EnableCrashingOnCrashes() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int glestMainSEHWrapper(int argc, char** argv) {
|
int glestMainSEHWrapper(int argc, char** argv) {
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
//winSockManager = new SocketManager();
|
||||||
|
SocketManager winSockManager;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32_STACK_TRACE
|
#ifdef WIN32_STACK_TRACE
|
||||||
//printf("Hooking up WIN32_STACK_TRACE...\n");
|
//printf("Hooking up WIN32_STACK_TRACE...\n");
|
||||||
__try {
|
__try {
|
||||||
|
@ -5967,9 +5973,6 @@ __try {
|
||||||
initSpecialStrings();
|
initSpecialStrings();
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
winSockManager = new SocketManager();
|
|
||||||
#endif
|
|
||||||
IRCThread::setGlobalCacheContainerName(GameConstants::ircClientCacheLookupKey);
|
IRCThread::setGlobalCacheContainerName(GameConstants::ircClientCacheLookupKey);
|
||||||
result = glestMain(argc, argv);
|
result = glestMain(argc, argv);
|
||||||
|
|
||||||
|
@ -5979,8 +5982,8 @@ __try {
|
||||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
delete winSockManager;
|
//delete winSockManager;
|
||||||
winSockManager = NULL;
|
//winSockManager = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(sdl_quitCalled == false) {
|
if(sdl_quitCalled == false) {
|
||||||
|
|
Loading…
Reference in New Issue