Araq
b26e6e3589
fixes #5301
2017-01-30 19:01:03 +01:00
Jacek Sieka
d2d618dde7
add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc (see fe36254)
2016-10-12 22:31:59 +08:00
GaveUp
fe362543de
Revert change to osalloc.nim from commit 8d7a45f.
...
Change caused MAP_ANONYMOUS to have an incorrect value when compiling
for mipsel.
Fixes #4852 .
2016-10-04 15:22:36 -05:00
Jacek Sieka
b3846124e6
clean up a few stray c_stdout's in gc debug code
2016-07-31 08:34:42 +08:00
Jeff Ciesielski
4f4aafda6c
Plumb {.intdefine.} and {.strdefine.} pragmas.
...
Shorthand so that users won't need to use the .magic pragma
2016-07-04 22:52:24 -04:00
Jeff Ciesielski
94d1aa5109
Add the ability to pass a value with the -d flag
...
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time. This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
2016-07-04 18:11:25 -04:00
Yuriy Glukhov
84876edbcb
Fixed emscripten compilation
2016-06-13 17:00:13 +03:00
Jacek Sieka
8d7a45f205
prefer consts to importing #defines from headers
...
to be completed - better would be to have a libc wrapper that deals with
all pesky C ABI details
2016-06-06 23:00:00 +08:00
Hans Raaf
38b7581a28
Fixing pragmas (so syntax highligting works).
2016-05-20 20:26:20 +02:00
Andreas Rumpf
b4e2a846e1
munmap for LLVM
2016-03-28 02:43:16 +02:00
Andreas Rumpf
e2c8d9ade0
beginnings of --gc:stack
2016-03-28 02:26:38 +02:00