This does not compile:
---
public import core.sys.posix.sys.mman;
import core.sys.linux.config;
static if (__USE_MISC)
{
enum MAP_RENAME = MAP_ANONYMOUS;
}
static if (__USE_MISC)
{
enum MAP_ANONYMOUS = MAP_ANON;
}
---
Swapping the static ifs around, however, and it does.
This is particular bug is causing SPARC, SPARC64, MIPS and MIPS64 builds to fail.
Comment #1 by github-bugzilla — 2017-10-08T17:51:56Z