aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/php/php-5.2.6/string.c.patch
blob: a24b887ac234dbb6e7d184c1e84968efe8510034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: php-5.2.6/ext/standard/string.c
===================================================================
--- php-5.2.6.orig/ext/standard/string.c
+++ php-5.2.6/ext/standard/string.c
@@ -592,14 +592,12 @@ PHP_FUNCTION(nl_langinfo)
 #endif
 #ifdef DECIMAL_POINT
 		case DECIMAL_POINT:
-#endif
-#ifdef RADIXCHAR
+#elif RADIXCHAR
 		case RADIXCHAR:
 #endif
 #ifdef THOUSANDS_SEP
 		case THOUSANDS_SEP:
-#endif
-#ifdef THOUSEP
+#elif THOUSEP
 		case THOUSEP:
 #endif
 #ifdef GROUPING