From fb91d32d61e39cf9f6d07f9ee1b5077a9930044c Mon Sep 17 00:00:00 2001 From: janwas Date: Thu, 1 Feb 2007 01:44:13 +0000 Subject: [PATCH] philip points out G++ will not support the restrict keyword at all. This was SVN commit r4826. --- source/lib/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/lib/config.h b/source/lib/config.h index a9a689a1df..d4eb62657a 100644 --- a/source/lib/config.h +++ b/source/lib/config.h @@ -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