summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-08 11:24:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-08 11:24:07 +0200
commitb0971f4459fd37813dd4779f2ddaf9b38cf5f776 (patch)
tree3a839ab26708e7891a32f5125bb2fdde47cc2ae3 /src/debug.cpp
parent15f27a19378345c22b07e37ab324581d55ad9c5b (diff)
downloadminetest-b0971f4459fd37813dd4779f2ddaf9b38cf5f776.tar.gz
minetest-b0971f4459fd37813dd4779f2ddaf9b38cf5f776.tar.bz2
minetest-b0971f4459fd37813dd4779f2ddaf9b38cf5f776.zip
local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported)
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 2 insertions, 0 deletions
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