mescc: Tinycc support: define __linux__.
* module/language/c99/compiler.mes (c99-input->full-ast): Add "__linux__=1" to cpp-defs.
This commit is contained in:
parent
cb99e3ca6e
commit
5fadb4cbbf
|
@ -58,6 +58,7 @@
|
||||||
#:inc-dirs (append includes (cons* include "mlibc/include" "mlibc" (or (and=> (getenv "C_INCLUDE_PATH") (cut string-split <> #\:)) '())))
|
#:inc-dirs (append includes (cons* include "mlibc/include" "mlibc" (or (and=> (getenv "C_INCLUDE_PATH") (cut string-split <> #\:)) '())))
|
||||||
#:cpp-defs `(
|
#:cpp-defs `(
|
||||||
"NULL=0"
|
"NULL=0"
|
||||||
|
"__linux__=1"
|
||||||
"__i386__=1"
|
"__i386__=1"
|
||||||
"POSIX=0"
|
"POSIX=0"
|
||||||
"_POSIX_SOURCE=0"
|
"_POSIX_SOURCE=0"
|
||||||
|
|
Loading…
Reference in a new issue