summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-05-09 12:59:41 +0000
committerScott MacVicar <scottmac@php.net>2008-05-09 12:59:41 +0000
commitf73f5c1aa512e9820fd81f1e55f751eec9dfc3e9 (patch)
tree9ee51eb52e448ea20e86b3953e68db52c47ef74b
parent6c7ae8825d43673df567933a525c8bff26c0010c (diff)
downloadphp-git-f73f5c1aa512e9820fd81f1e55f751eec9dfc3e9.tar.gz
MFH: Fix compile error if _GNU_SOURCE is defined
-rw-r--r--ext/standard/string.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 8f137e950b..f4bb26005d 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