1
0
forked from mirrors/0ad

philip points out G++ will not support the restrict keyword at all.

This was SVN commit r4826.
This commit is contained in:
janwas
2007-02-01 01:44:13 +00:00
parent 27b6ffe2d6
commit fb91d32d61
+2 -1
View File
@@ -295,7 +295,8 @@
//
// rationale: lying about __STDC_VERSION__ via Premake so as to enable support
// for some C99 functions doesn't work. Mac OS X headers would then use the
// restrict keyword, which is not actually supported on older GCC.
// restrict keyword, which is never supported by g++ (because that might
// end up breaking valid C++98 programs).
#define HAVE_C99 0
#ifdef __STDC_VERSION__
# if __STDC_VERSION__ >= 199901L