Le vendredi 2 janvier 2015, 15:53:39 Sergey Korshunoff a écrit : > A values for > __STDC__, __STDC_VERSION__, __STDC_HOSTED__ > on the Linux are defined as in gcc.
Hi Sergey, This patch seems unnecessary as tcc_define_symbol with a third argument NULL is equivalent as setting it to 1 (#define FOO is the same as #define FOO 1). See for yourself: % cat ~/foo.c int foo = __STDC__; % tcc -E ~/foo.c # 1 "/home/foo/foo.c" int foo = 1; Best regards, Thomas _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel