Patch to fix mingw compilation problem contributed by Henrik.
authorJeff Cohen <jeffc@jolt-lang.org>
Thu, 23 Dec 2004 03:44:40 +0000 (03:44 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Thu, 23 Dec 2004 03:44:40 +0000 (03:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19112 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Process.cpp
lib/System/Win32/Process.inc

index 3aa6ad4d499153b95f397847c3334ca682eb838c..00da74076b0c15de3571e79e45d13a6077a3a41b 100644 (file)
 //===          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;
 
index 3aa6ad4d499153b95f397847c3334ca682eb838c..00da74076b0c15de3571e79e45d13a6077a3a41b 100644 (file)
 //===          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;