This could (clearly ;) do with more testing with whatever non-GCC C99 compilers are out there to make sure there are no surprises. (Win32, AIX might trip this in particular?)
----- Forwarded message from [EMAIL PROTECTED] ----- From: [EMAIL PROTECTED] Reply-To: [email protected] To: [EMAIL PROTECTED] Date: Mon, 12 Dec 2005 11:14:15 -0000 Subject: svn commit: r356248 - /httpd/httpd/trunk/include/ap_config.h Author: jorton Date: Mon Dec 12 03:14:10 2005 New Revision: 356248 URL: http://svn.apache.org/viewcvs?rev=356248&view=rev Log: * include/ap_config.h: Fix the macro name. Modified: httpd/httpd/trunk/include/ap_config.h Modified: httpd/httpd/trunk/include/ap_config.h URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/ap_config.h?rev=356248&r1=356247&r2=356248&view=diff ============================================================================== --- httpd/httpd/trunk/include/ap_config.h (original) +++ httpd/httpd/trunk/include/ap_config.h Mon Dec 12 03:14:10 2005 @@ -256,7 +256,7 @@ * initializers if using GCC (but not G++), or for any other compiler * which claims C99 support. */ #if (defined(__GNUC__) && !defined(__cplusplus)) \ - || (defined(__STDC_VERSION) && __STDC_VERSION__ >= 199901L) + || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) #define AP_HAVE_DESIGNATED_INITIALIZER #endif ----- End forwarded message -----
