1 Solaris doesn't have MAP_FILE
3 Not suitable for upstream
5 diff --git a/Source/WTF/wtf/FileSystem.cpp b/Source/WTF/wtf/FileSystem.cpp
6 index febe45f..e05b5c6 100644
7 --- a/Source/WTF/wtf/FileSystem.cpp
8 +++ b/Source/WTF/wtf/FileSystem.cpp
9 @@ -339,7 +339,7 @@ bool MappedFileData::mapFileHandle(PlatformFileHandle handle, FileOpenMode openM
13 - void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
14 + void* data = mmap(0, size, pageProtection, (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
16 if (data == MAP_FAILED) {