changeset 477:1e81d5b65878

GLIBC's headers need to see C99 support to use "long long".
author Rob Landley <rob@landley.net>
date Thu, 06 Sep 2007 05:42:28 -0500
parents 70a99da12bb7
children e9cd70a790dd
files tcc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tcc.c	Wed Sep 05 21:26:57 2007 -0500
+++ b/tcc.c	Thu Sep 06 05:42:28 2007 -0500
@@ -8868,6 +8868,7 @@
 
     /* standard defines */
     tcc_define_symbol(s, "__STDC__", NULL);
+    tcc_define_symbol(s, "__STDC_VERSION__", "199901L");
 #if defined(TCC_TARGET_I386)
     tcc_define_symbol(s, "__i386__", NULL);
 #endif