commit | 6c0398ed4702fdf33b4b3025c9ae466b558118ad | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 08 19:33:07 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 08 19:33:07 2004 +0000 |
tree | a8db11b78987c8155ed14e29d37453c29427630e | |
parent | 4bb2969393203251c74e6a2a407b107384ac68f6 [diff] [blame] |
There is no reason to #define fd git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11190 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 8da5091..2bead72 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -72,10 +72,9 @@ abort(); #endif + int fd = -1; #if defined(__linux__) -#define fd 0 -#else -#define fd -1 + fd = 0; #endif unsigned mmapFlags = MAP_PRIVATE|MAP_ANONYMOUS;