Posix from detect (#5697)

* refactor posix.nim
* types move to separate files for platform-specifc and generic
("other')
* consts move to separate files that get autogenerated by detect.nim
* proc's stay where they are for now, though in a second stage might
move as well
* fix missing when
This commit is contained in:
Jacek Sieka 2017-04-13 05:10:54 +08:00 • committed by Andreas Rumpf
commit ce86b4ad78
12 changed files with 3438 additions and 3133 deletions

5
tools/detect/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
pre.c
pre.i
genconsts.c
other_consts.nim
linux_amd64_consts.nim