From abc3c85ce88c89a74e6daa7f3edc11a2db215236 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 6 Aug 2012 15:39:37 +0000 Subject: [PATCH] - WIN: Don't include the newer DBGHELP symbols in MinGW64. (From Oliver Bock) lib/ stackwalker_imports.h svn path=/trunk/boinc/; revision=25986 --- checkin_notes | 7 +++++++ lib/stackwalker_imports.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index c65ad28e55..c2ede34bba 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5295,3 +5295,10 @@ David 3 Aug 2012 sched/ sched_send.cpp + +Rom 6 Aug 2012 + - WIN: Don't include the newer DBGHELP symbols in MinGW64. + (From Oliver Bock) + + lib/ + stackwalker_imports.h diff --git a/lib/stackwalker_imports.h b/lib/stackwalker_imports.h index d522f82761..c1d79b9902 100644 --- a/lib/stackwalker_imports.h +++ b/lib/stackwalker_imports.h @@ -21,7 +21,7 @@ #define gle (GetLastError()) #define TTBUFLEN 8096 // for a temp buffer (2^13) -#if (defined(__CYGWIN32__) || defined(__MINGW32__)) && !defined(__MINGW64__) +#if (defined(__CYGWIN32__) || defined(__MINGW32__)) && !defined(__MINGW64_VERSION_MAJOR) #define MAX_SYM_NAME 2000