Unified · Split
| @@ -947,6 +947,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 946 unmodified lines | |||
| 947 | tcc_define_symbol(s, "__APPLE__", "1"); | 947 | tcc_define_symbol(s, "__APPLE__", "1"); |
| 948 | tcc_define_symbol(s, "__GNUC__", "4"); /* darwin emits warning on GCC<4 */ | 948 | tcc_define_symbol(s, "__GNUC__", "4"); /* darwin emits warning on GCC<4 */ |
| 949 | tcc_define_symbol(s, "__APPLE_CC__", "1"); /* for <TargetConditionals.h> */ | 949 | tcc_define_symbol(s, "__APPLE_CC__", "1"); /* for <TargetConditionals.h> */ |
| 950 | tcc_define_symbol(s, "_DONT_USE_CTYPE_INLINE_", "1"); | ||
| 950 | tcc_define_symbol(s, "__builtin_alloca", "alloca"); /* as we claim GNUC */ | 951 | tcc_define_symbol(s, "__builtin_alloca", "alloca"); /* as we claim GNUC */ |
| 951 | /* used by math.h */ | 952 | /* used by math.h */ |
| 952 | tcc_define_symbol(s, "__builtin_huge_val()", "1e500"); | 953 | tcc_define_symbol(s, "__builtin_huge_val()", "1e500"); |