From a2ef7d48d005f7cbc950b28f9601a8da72dedff2 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Fri, 9 May 2008 12:58:50 +0000 Subject: [PATCH] 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 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 -- 2.50.1