Merge pull request #4853 from GaveUp/devel

Revert change to osalloc.nim from commit 8d7a45f.
This commit is contained in:
Andreas Rumpf
2016-10-06 10:38:39 +02:00
committed by GitHub

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