[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
Misha Brukman
brukman at cs.uiuc.edu
Wed Sep 10 10:10:03 PDT 2003
Changes in directory llvm/lib/ExecutionEngine/JIT:
Emitter.cpp updated: 1.23 -> 1.24
---
Log message:
Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h
---
Diffs of the changes:
Index: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.23 llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.24
--- llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.23 Thu Aug 14 13:35:27 2003
+++ llvm/lib/ExecutionEngine/JIT/Emitter.cpp Wed Sep 10 10:09:45 2003
@@ -41,7 +41,9 @@
};
}
+#ifndef _POSIX_MAPPED_FILES
#define _POSIX_MAPPED_FILES
+#endif
#include <unistd.h>
#include <sys/mman.h>
More information about the llvm-commits
mailing list