RESOLVED WORKSFORME95637
Can't compile with MinGW-w64 - sys/mman.h not found
https://bugs.webkit.org/show_bug.cgi?id=95637
Summary Can't compile with MinGW-w64 - sys/mman.h not found
Jonathan Liu
Reported 2012-09-01 00:26:39 PDT
Building with MinGW-w64 results in ENABLE_EXECUTABLE_ALLOCATOR_FIXED being defined to 1 in Platform.h. Compiling javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp results in a compile error because sys/mman.h is not available when using MinGW. Platform.h needs "#if CPU(X86_64) || PLATFORM(IOS)" changed to "#if (CPU(X86_64) || PLATFORM(IOS)) && !COMPILER(MINGW64)".
Attachments
Jonathan Liu
Comment 1 2012-09-01 00:35:40 PDT
This seems to be already fixed. I was looking at the wrong version.
Note You need to log in before you can comment on or make changes to this bug.