From d89237ed642be0c2fa70c864887a308c59ffd2fe Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 23 Feb 2010 11:56:11 +0100 Subject: The crash handler only works with MinGW Reviewed-by: Bernd Wachter --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 205ba6eb..2fb9c112 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,7 +31,7 @@ #include #include -#ifdef WIN32 +#ifdef __MINGW32__ #include #endif @@ -188,7 +188,7 @@ static void initXML() int main(int argc, char *argv[]) { -#if defined(DEBUG) && defined(WIN32) +#if defined(DEBUG) && defined(__MINGW32__) // Load mingw crash handler. Won't fail if dll is not present. LoadLibrary("exchndl.dll"); #endif -- cgit v1.2.3-70-g09d2