mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-17 15:44:18 +08:00
OpenBSD: fix typo in _ANSI_LIBRARY defined symbol
This commit is contained in:
parent
a3d5e4aa43
commit
19d287aae3
2
libtcc.c
2
libtcc.c
@ -893,7 +893,7 @@ LIBTCCAPI TCCState *tcc_new(void)
|
||||
# endif
|
||||
# if defined(__OpenBSD__)
|
||||
tcc_define_symbol(s, "__OpenBSD__", "1");
|
||||
tcc_define_symbol(s, "_ANSI_LIBRARY_", "1");
|
||||
tcc_define_symbol(s, "_ANSI_LIBRARY", "1");
|
||||
tcc_define_symbol(s, "__GNUC__", "4");
|
||||
tcc_define_symbol(s, "__builtin_alloca", "alloca"); /* as we claim GNUC */
|
||||
/* used by math.h */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user