Define(Defs, "__APPLE__");
Define(Defs, "__MACH__");
#endif
+
+/* FIXME. we may also need to distinguish between darwin and linux targets */
+#ifdef linux
+ Define(Defs, "linux");
+#endif
if (1) {// -fobjc-gc controls this.
Define(Defs, "__weak", "");
DefineBuiltinMacro(Buf, "__FINITE_MATH_ONLY__=0");
DefineBuiltinMacro(Buf, "__NO_INLINE__=1");
DefineBuiltinMacro(Buf, "__PIC__=1");
-
-/* FIXME: this check should be moved to the configure process */
-#ifdef linux
- DefineBuiltinMacro(Buf, "linux=1");
-#endif
if (PP.getLangOptions().CPlusPlus) {