From 23a1cf3e085325783ef2e4078308f913cba5012e Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 19 Feb 2005 03:01:13 +0000 Subject: [PATCH] Change __MINGW to __MINGW32__. Patch submitted by Henrik Bach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20243 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Config/alloca.h | 2 +- lib/System/Win32/DynamicLibrary.inc | 2 +- lib/System/Win32/Process.inc | 2 +- lib/System/Win32/Signals.inc | 2 +- lib/System/Win32/TimeValue.inc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/llvm/Config/alloca.h b/include/llvm/Config/alloca.h index 13631e5a705..0756db4785b 100644 --- a/include/llvm/Config/alloca.h +++ b/include/llvm/Config/alloca.h @@ -28,7 +28,7 @@ #define alloca _alloca #elif defined(HAVE_ALLOCA_H) #include -#elif defined(__MINGW) && defined(HAVE_MALLOC_H) +#elif defined(__MINGW32__) && defined(HAVE_MALLOC_H) #include #elif !defined(__GNUC__) # ifdef _AIX diff --git a/lib/System/Win32/DynamicLibrary.inc b/lib/System/Win32/DynamicLibrary.inc index af28f756254..2209e592091 100644 --- a/lib/System/Win32/DynamicLibrary.inc +++ b/lib/System/Win32/DynamicLibrary.inc @@ -13,7 +13,7 @@ #include "Win32.h" -#ifdef __MINGW +#ifdef __MINGW32__ #include #else #include diff --git a/lib/System/Win32/Process.inc b/lib/System/Win32/Process.inc index 7c8de644732..a47ff2e39bf 100644 --- a/lib/System/Win32/Process.inc +++ b/lib/System/Win32/Process.inc @@ -23,7 +23,7 @@ //=== and must not be UNIX code //===----------------------------------------------------------------------===// -#ifdef __MINGW +#ifdef __MINGW32__ // This ban should be lifted when MinGW 1.0+ has defined this value. # define _HEAPOK (-2) #endif diff --git a/lib/System/Win32/Signals.inc b/lib/System/Win32/Signals.inc index afe6c8dfa64..55e2d2d6a5c 100644 --- a/lib/System/Win32/Signals.inc +++ b/lib/System/Win32/Signals.inc @@ -15,7 +15,7 @@ #include #include -#ifdef __MINGW +#ifdef __MINGW32__ #include #else #include diff --git a/lib/System/Win32/TimeValue.inc b/lib/System/Win32/TimeValue.inc index 34a5df18ef3..01f74848b80 100644 --- a/lib/System/Win32/TimeValue.inc +++ b/lib/System/Win32/TimeValue.inc @@ -31,7 +31,7 @@ TimeValue TimeValue::now() { } std::string TimeValue::toString() const { -#ifdef __MINGW +#ifdef __MINGW32__ // This ban may be lifted by either: // (i) a future MinGW version other than 1.0 inherents the __time64_t type, or // (ii) configure tests for either the time_t or __time64_t type. -- 2.34.1