aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-09-30 18:24:58 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-09-30 18:24:58 +0000
commit34ec89cd4808d8a1704d30b92d906f0e72677cab (patch)
tree2ee9451f250999fa4cf410fcd6c5b5366bd9cd42 /lib/System
parentdbea9731b12e62f70d9da40cf273cdd9105f987c (diff)
downloadexternal_llvm-34ec89cd4808d8a1704d30b92d906f0e72677cab.zip
external_llvm-34ec89cd4808d8a1704d30b92d906f0e72677cab.tar.gz
external_llvm-34ec89cd4808d8a1704d30b92d906f0e72677cab.tar.bz2
Check for __MINGW define instead of __MINGW_H, patch by Henrik Bach.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Win32/Signals.cpp2
-rw-r--r--lib/System/Win32/Signals.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Win32/Signals.cpp b/lib/System/Win32/Signals.cpp
index 908ae84..5c6e008 100644
--- a/lib/System/Win32/Signals.cpp
+++ b/lib/System/Win32/Signals.cpp
@@ -16,7 +16,7 @@
#include <stdio.h>
#include <vector>
-#ifdef __MINGW_H
+#ifdef __MINGW
#include <imagehlp.h>
#else
#include <dbghelp.h>
diff --git a/lib/System/Win32/Signals.inc b/lib/System/Win32/Signals.inc
index 908ae84..5c6e008 100644
--- a/lib/System/Win32/Signals.inc
+++ b/lib/System/Win32/Signals.inc
@@ -16,7 +16,7 @@
#include <stdio.h>
#include <vector>
-#ifdef __MINGW_H
+#ifdef __MINGW
#include <imagehlp.h>
#else
#include <dbghelp.h>