OpenBSD: fix typo in _ANSI_LIBRARY defined symbol
This commit is contained in:
parent
a3d5e4aa43
commit
19d287aae3
1 changed files with 1 additions and 1 deletions
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 a new issue