llvm.org GIT mirror llvm / 23a1cf3
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 Jeff Cohen 15 years ago
5 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2727 #define alloca _alloca
2828 #elif defined(HAVE_ALLOCA_H)
2929 #include
30 #elif defined(__MINGW) && defined(HAVE_MALLOC_H)
30 #elif defined(__MINGW32__) && defined(HAVE_MALLOC_H)
3131 #include
3232 #elif !defined(__GNUC__)
3333 # ifdef _AIX
1212
1313 #include "Win32.h"
1414
15 #ifdef __MINGW
15 #ifdef __MINGW32__
1616 #include
1717 #else
1818 #include
2222 //=== and must not be UNIX code
2323 //===----------------------------------------------------------------------===//
2424
25 #ifdef __MINGW
25 #ifdef __MINGW32__
2626 // This ban should be lifted when MinGW 1.0+ has defined this value.
2727 # define _HEAPOK (-2)
2828 #endif
1414 #include
1515 #include
1616
17 #ifdef __MINGW
17 #ifdef __MINGW32__
1818 #include
1919 #else
2020 #include
3030 }
3131
3232 std::string TimeValue::toString() const {
33 #ifdef __MINGW
33 #ifdef __MINGW32__
3434 // This ban may be lifted by either:
3535 // (i) a future MinGW version other than 1.0 inherents the __time64_t type, or
3636 // (ii) configure tests for either the time_t or __time64_t type.