summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:08:41 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:08:41 -0800
commit50693a26b73bd2ad0c3d3a0854c855a6686c1344 (patch)
tree02b49b367f5cc1c9ff129c2355f0d13e9046f995 /src
parent888f6f500125a81a8f7d8a792238149ecd9b4055 (diff)
The trace functions for windows are actually in dbghelp.h - note that this will really only work when mingw64 uses gcc-4.7...
Diffstat (limited to 'src')
-rw-r--r--src/Exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Exceptions.cc b/src/Exceptions.cc
index 09d9d8e..a9df9e6 100644
--- a/src/Exceptions.cc
+++ b/src/Exceptions.cc
@@ -5,6 +5,7 @@
#ifdef _WIN32
#include <windows.h>
+#include <dbghelp.h>
void Balau::GeneralException::genTrace() {
// taken from http://stackoverflow.com/questions/5693192/win32-backtrace-from-c-code