aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Win32/Process.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2004-12-23 03:44:40 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2004-12-23 03:44:40 +0000
commit2e5f445da016dac4e9760941e7f05591fec657bb (patch)
treeda06a59e42e71edc7f7c83377a333713079355f0 /lib/System/Win32/Process.cpp
parent06c375bd1d402ddcf2ee8e34005a74a0addbd7cc (diff)
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
Diffstat (limited to 'lib/System/Win32/Process.cpp')
-rw-r--r--lib/System/Win32/Process.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/System/Win32/Process.cpp b/lib/System/Win32/Process.cpp
index 3aa6ad4d49..00da74076b 100644
--- a/lib/System/Win32/Process.cpp
+++ b/lib/System/Win32/Process.cpp
@@ -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;