mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
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
This commit is contained in:
parent
a977c486ba
commit
23a1cf3e08
@ -28,7 +28,7 @@
|
|||||||
#define alloca _alloca
|
#define alloca _alloca
|
||||||
#elif defined(HAVE_ALLOCA_H)
|
#elif defined(HAVE_ALLOCA_H)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#elif defined(__MINGW) && defined(HAVE_MALLOC_H)
|
#elif defined(__MINGW32__) && defined(HAVE_MALLOC_H)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#elif !defined(__GNUC__)
|
#elif !defined(__GNUC__)
|
||||||
# ifdef _AIX
|
# ifdef _AIX
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include "Win32.h"
|
#include "Win32.h"
|
||||||
|
|
||||||
#ifdef __MINGW
|
#ifdef __MINGW32__
|
||||||
#include <imagehlp.h>
|
#include <imagehlp.h>
|
||||||
#else
|
#else
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
//=== and must not be UNIX code
|
//=== and must not be UNIX code
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#ifdef __MINGW
|
#ifdef __MINGW32__
|
||||||
// This ban should be lifted when MinGW 1.0+ has defined this value.
|
// This ban should be lifted when MinGW 1.0+ has defined this value.
|
||||||
# define _HEAPOK (-2)
|
# define _HEAPOK (-2)
|
||||||
#endif
|
#endif
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#ifdef __MINGW
|
#ifdef __MINGW32__
|
||||||
#include <imagehlp.h>
|
#include <imagehlp.h>
|
||||||
#else
|
#else
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
|
@ -31,7 +31,7 @@ TimeValue TimeValue::now() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string TimeValue::toString() const {
|
std::string TimeValue::toString() const {
|
||||||
#ifdef __MINGW
|
#ifdef __MINGW32__
|
||||||
// This ban may be lifted by either:
|
// This ban may be lifted by either:
|
||||||
// (i) a future MinGW version other than 1.0 inherents the __time64_t type, or
|
// (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.
|
// (ii) configure tests for either the time_t or __time64_t type.
|
||||||
|
Loading…
Reference in New Issue
Block a user