diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-23 03:44:40 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-23 03:44:40 +0000 |
commit | 53fbecce6e8b7d1f024e3dc6df4160fe9a577ff1 (patch) | |
tree | a5bb20b4166cbb229c0c8a427f7e57367c26de7e /llvm/lib | |
parent | 737d3e87941bb18467d03046cc4d1efd06d50a00 (diff) | |
download | bcm5719-llvm-53fbecce6e8b7d1f024e3dc6df4160fe9a577ff1.tar.gz bcm5719-llvm-53fbecce6e8b7d1f024e3dc6df4160fe9a577ff1.zip |
Patch to fix mingw compilation problem contributed by Henrik.
llvm-svn: 19112
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/System/Win32/Process.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Process.cpp b/llvm/lib/System/Win32/Process.cpp index 3aa6ad4d499..00da74076b0 100644 --- a/llvm/lib/System/Win32/Process.cpp +++ b/llvm/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; |