Patch to fix mingw compilation problem contributed by Henrik.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2004-12-23 03:44:40 +00:00
parent 06c375bd1d
commit 2e5f445da0
2 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,11 @@
//=== and must not be UNIX code
//===----------------------------------------------------------------------===//
#ifdef __MINGW
// This ban should be lifted when MinGW 1.0+ has defined this value.
# define _HEAPOK (-2)
#endif
namespace llvm {
using namespace sys;

View File

@ -22,6 +22,11 @@
//=== and must not be UNIX code
//===----------------------------------------------------------------------===//
#ifdef __MINGW
// This ban should be lifted when MinGW 1.0+ has defined this value.
# define _HEAPOK (-2)
#endif
namespace llvm {
using namespace sys;