cvs: php-src /ext/standard string.c
| From: | Scott MacVicar | Date: | Fri, 09 May 2008 12:58:50 +0000 |
| Subject: | cvs: php-src /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-49916@lists.php.net to get a copy of this message | ||
scottmac Fri May 9 12:58:50 2008 UTC
Modified files:
/php-src/ext/standard string.c
Log:
Fix compile error if _GNU_SOURCE is defined
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.672&r2=1.673&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.672 php-src/ext/standard/string.c:1.673
--- php-src/ext/standard/string.c:1.672 Tue Apr 29 08:15:49 2008
+++ php-src/ext/standard/string.c Fri May 9 12:58:50 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.672 2008/04/29 08:15:49 dmitry Exp $ */
+/* $Id: string.c,v 1.673 2008/05/09 12:58:50 scottmac Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -627,14 +627,12 @@
#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