Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h
llvm-svn: 8436
This commit is contained in:
parent
66645df54c
commit
8c056e4337
|
@ -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