From: Scott MacVicar Date: Fri, 9 May 2008 12:58:50 +0000 (+0000) Subject: Fix compile error if _GNU_SOURCE is defined X-Git-Tag: RELEASE_2_0_0b1~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2ef7d48d005f7cbc950b28f9601a8da72dedff2;p=php Fix compile error if _GNU_SOURCE is defined --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 81a6422192..a9e95f6d88 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -627,14 +627,12 @@ PHP_FUNCTION(nl_langinfo) #endif #ifdef DECIMAL_POINT case DECIMAL_POINT: -#endif -#ifdef RADIXCHAR +#elif defined(RADIXCHAR) case RADIXCHAR: #endif #ifdef THOUSANDS_SEP case THOUSANDS_SEP: -#endif -#ifdef THOUSEP +#elif defined(THOUSEP) case THOUSEP: #endif #ifdef GROUPING