mescc: Tinycc support: define __linux__.
[mes.git] / module / language / c99 / compiler.mes
index 1d14824b46296677a58002da7b2f409d598a3a4e..d7359180dee9b5673c398a41e1697e9b05b375c5 100644 (file)
@@ -58,6 +58,7 @@
      #:inc-dirs (append includes (cons* include "mlibc/include" "mlibc" (or (and=> (getenv "C_INCLUDE_PATH") (cut string-split <> #\:)) '())))
      #:cpp-defs `(
                   "NULL=0"
+                  "__linux__=1"
                   "__i386__=1"
                   "POSIX=0"
                   "_POSIX_SOURCE=0"