From f73f5c1aa512e9820fd81f1e55f751eec9dfc3e9 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Fri, 9 May 2008 12:59:41 +0000 Subject: [PATCH] MFH: Fix compile error if _GNU_SOURCE is defined --- ext/standard/string.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 8f137e950b0..f4bb26005d8 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -592,14 +592,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