diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-10 15:09:45 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-10 15:09:45 +0000 |
commit | 88b4855499eb98b5510b74897b77691c1e806cb8 (patch) | |
tree | df09b5baf6f7e8850115b0ab1b7197b2c0d67603 /lib | |
parent | a176a8bb392f3dea6775a52cc6d93ac16dba8be1 (diff) | |
download | external_llvm-88b4855499eb98b5510b74897b77691c1e806cb8.zip external_llvm-88b4855499eb98b5510b74897b77691c1e806cb8.tar.gz external_llvm-88b4855499eb98b5510b74897b77691c1e806cb8.tar.bz2 |
Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 0a692c6..59e7eba 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -41,7 +41,9 @@ namespace { }; } +#ifndef _POSIX_MAPPED_FILES #define _POSIX_MAPPED_FILES +#endif #include <unistd.h> #include <sys/mman.h> |