Bug 95637
| Summary: | Can't compile with MinGW-w64 - sys/mman.h not found | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Liu <net147> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
Jonathan Liu
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jonathan Liu
This seems to be already fixed. I was looking at the wrong version.