[llvm-commits] CVS: llvm/lib/System/Win32/Process.cpp

Jeff Cohen jeffc at jolt-lang.org
Wed Dec 22 19:44:51 PST 2004



Changes in directory llvm/lib/System/Win32:

Process.cpp updated: 1.4 -> 1.5
---
Log message:

Patch to fix mingw compilation problem contributed by Henrik.

---
Diffs of the changes:  (+5 -0)

Index: llvm/lib/System/Win32/Process.cpp
diff -u llvm/lib/System/Win32/Process.cpp:1.4 llvm/lib/System/Win32/Process.cpp:1.5
--- llvm/lib/System/Win32/Process.cpp:1.4	Sun Dec 19 21:24:56 2004
+++ llvm/lib/System/Win32/Process.cpp	Wed Dec 22 21:44:40 2004
@@ -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;
 






More information about the llvm-commits mailing list