History

libtcc: tcc_define_symbol() uses strings, fix segfault

Roy committed 13 years ago

Commit 322743e1 parent 3ad64ff1 file · +1 −1Browse files

Unified · Split

libtcc.c+1−1
@@ -924,7 +924,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 923 unmodified lines
924924 /* standard defines */
925925 tcc_define_symbol(s, "__STDC__", NULL);
926926 tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
927− tcc_define_symbol(s, "__STDC_HOSTED__", 1);
927+ tcc_define_symbol(s, "__STDC_HOSTED__", "1");
928928
929929 /* target defines */
930930 #if defined(TCC_TARGET_I386)

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