Skip to content

Commit d125975

Browse files
mstorsjoAnthony Tran
authored andcommitted
[Support] Remove an outdated MinGW workaround (llvm#145294)
mingw-w64 has had the _HEAPOK define since the initial commits in 2007; unclear when/where it was added for mingw.org headers, but it does seem to exist there as well (at least in versions from 2011). This workaround stems from 53fbecc from 2004 - it is no longer relevant today.
1 parent e29ab4c commit d125975

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Support/Windows/Process.inc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737
//=== and must not be UNIX code
3838
//===----------------------------------------------------------------------===//
3939

40-
#ifdef __MINGW32__
41-
// This ban should be lifted when MinGW 1.0+ has defined this value.
42-
#define _HEAPOK (-2)
43-
#endif
44-
4540
using namespace llvm;
4641

4742
Process::Pid Process::getProcessId() {

0 commit comments

Comments
 (0)