mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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
This commit is contained in:
parent
a176a8bb39
commit
88b4855499
@ -41,7 +41,9 @@ namespace {
|
||||
};
|
||||
}
|
||||
|
||||
#ifndef _POSIX_MAPPED_FILES
|
||||
#define _POSIX_MAPPED_FILES
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user