From b0971f4459fd37813dd4779f2ddaf9b38cf5f776 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 8 Feb 2011 11:24:07 +0200 Subject: local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported) --- src/debug.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debug.cpp') diff --git a/src/debug.cpp b/src/debug.cpp index f267790fd..ec23235cb 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -198,6 +198,7 @@ DebugStacker::~DebugStacker() #ifdef _WIN32 +#if CATCH_UNHANDLED_EXCEPTIONS == 1 void se_trans_func(unsigned int u, EXCEPTION_POINTERS* pExp) { dstream<<"In trans_func.\n"; @@ -223,6 +224,7 @@ void se_trans_func(unsigned int u, EXCEPTION_POINTERS* pExp) } } #endif +#endif -- cgit v1.2.3