History

Define __STDC_HOSTED__

Quoting Michael Matz on tinycc-devel: "__STDC_HOSTED__ : not set (incorrectly, it should probably be set to 1 given that tcc assumes a normal main() and that the rest of the provided facilities is provided by the C library not under tcc control)"

Thomas Preud'homme committed 13 years ago

Commit fe64a4d1 parent 0bdbd491 file · +1 −0Browse files

Unified · Split

libtcc.c+1−0
@@ -924,6 +924,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 923 unmodified lines
924 /* standard defines */924 /* standard defines */
925 tcc_define_symbol(s, "__STDC__", NULL);925 tcc_define_symbol(s, "__STDC__", NULL);
926 tcc_define_symbol(s, "__STDC_VERSION__", "199901L");926 tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
927 tcc_define_symbol(s, "__STDC_HOSTED__", NULL);
927 928
928 /* target defines */929 /* target defines */
929#if defined(TCC_TARGET_I386)930#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