Revert change to osalloc.nim from commit 8d7a45f.

Change caused MAP_ANONYMOUS to have an incorrect value when compiling
for mipsel.

Fixes #4852.
This commit is contained in:
GaveUp
2016-10-04 10:56:07 -05:00
parent 79ddf0611d
commit fe362543de

View File

@@ -87,8 +87,6 @@ elif defined(posix):
const MAP_ANONYMOUS = 0x1000
elif defined(solaris):
const MAP_ANONYMOUS = 0x100
elif defined(linux):
const MAP_ANONYMOUS = 0x20
else:
var
MAP_ANONYMOUS {.importc: "MAP_ANONYMOUS", header: "<sys/mman.h>".}: cint