mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h
llvm-svn: 8436
This commit is contained in:
parent
f4be611b55
commit
286f1a0fe8
@ -41,7 +41,9 @@ namespace {
|
||||
};
|
||||
}
|
||||
|
||||
#ifndef _POSIX_MAPPED_FILES
|
||||
#define _POSIX_MAPPED_FILES
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user