History

macos: internally define _DONT_USE_CTYPE_INLINE_ otherwise, ctype.h macros may be defined multiple times in different translation units.

Christian Jullien committed 6 years ago

Commit 8bad5bf1 parent 6b2bed41 file · +1 −0Browse files

Unified · Split

libtcc.c+1−0
@@ -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");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t