hirokawa Wed Sep 20 23:10:37 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/mbstring/oniguruma oniguruma.h
Log:
fixed compilation problem on Mac OS/X. (bug #38892,38778,38452)
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/oniguruma.h?r1=1.6.4.2&r2=1.6.4.3&diff_format=u
Index: php-src/ext/mbstring/oniguruma/oniguruma.h
diff -u php-src/ext/mbstring/oniguruma/oniguruma.h:1.6.4.2
php-src/ext/mbstring/oniguruma/oniguruma.h:1.6.4.3
--- php-src/ext/mbstring/oniguruma/oniguruma.h:1.6.4.2 Thu Aug 24 17:03:47 2006
+++ php-src/ext/mbstring/oniguruma/oniguruma.h Wed Sep 20 23:10:37 2006
@@ -49,6 +49,13 @@
# endif
#endif
+/* escape Mac OS X/Xcode 2.4/gcc 4.0.1 problem */
+#if defined(__APPLE__) && defined(__GNUC__) && __GNUC__ >= 4
+# ifndef HAVE_STDARG_PROTOTYPES
+# define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
#ifndef P_
#if defined(__STDC__) || defined(_WIN32)
# define P_(args) args
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php