Check for __MINGW define instead of __MINGW_H, patch by Henrik Bach.
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 30 Sep 2004 18:24:58 +0000 (18:24 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 30 Sep 2004 18:24:58 +0000 (18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16615 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Signals.cpp
lib/System/Win32/Signals.inc

index 908ae84c4b7a2aa177be786df29c8c338ae3796d..5c6e0087f4eadc4aeee19a271531e15d9916f167 100644 (file)
@@ -16,7 +16,7 @@
 #include <stdio.h>
 #include <vector>
 
-#ifdef __MINGW_H
+#ifdef __MINGW
 #include <imagehlp.h>
 #else
 #include <dbghelp.h>
index 908ae84c4b7a2aa177be786df29c8c338ae3796d..5c6e0087f4eadc4aeee19a271531e15d9916f167 100644 (file)
@@ -16,7 +16,7 @@
 #include <stdio.h>
 #include <vector>
 
-#ifdef __MINGW_H
+#ifdef __MINGW
 #include <imagehlp.h>
 #else
 #include <dbghelp.h>