History

OpenBSD: fix typo in _ANSI_LIBRARY defined symbol

Christian Jullien committed 5 years ago

Commit 19d287a1 parent a3d5e4a1 file · +1 −1Browse files

Unified · Split

libtcc.c+1−1
@@ -893,7 +893,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 892 unmodified lines
893# endif893# endif
894# if defined(__OpenBSD__)894# if defined(__OpenBSD__)
895 tcc_define_symbol(s, "__OpenBSD__", "1");895 tcc_define_symbol(s, "__OpenBSD__", "1");
896 tcc_define_symbol(s, "_ANSI_LIBRARY_", "1");896 tcc_define_symbol(s, "_ANSI_LIBRARY", "1");
897 tcc_define_symbol(s, "__GNUC__", "4");897 tcc_define_symbol(s, "__GNUC__", "4");
898 tcc_define_symbol(s, "__builtin_alloca", "alloca"); /* as we claim GNUC */898 tcc_define_symbol(s, "__builtin_alloca", "alloca"); /* as we claim GNUC */
899 /* used by math.h */899 /* used by math.h */

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