cvs: php-src /ext/mbstring/oniguruma regint.h
| From: | Pierre-Alain Joye | Date: | Sat, 12 Jul 2008 23:54:30 +0000 |
| Subject: | cvs: php-src /ext/mbstring/oniguruma regint.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51040@lists.php.net to get a copy of this message | ||
pajoye Sat Jul 12 23:54:30 2008 UTC
Modified files:
/php-src/ext/mbstring/oniguruma regint.h
Log:
- fix build with VC9 PSDK6.x
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/regint.h?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mbstring/oniguruma/regint.h
diff -u php-src/ext/mbstring/oniguruma/regint.h:1.5 php-src/ext/mbstring/oniguruma/regint.h:1.6
--- php-src/ext/mbstring/oniguruma/regint.h:1.5 Sat Mar 19 08:52:23 2005
+++ php-src/ext/mbstring/oniguruma/regint.h Sat Jul 12 23:54:30 2008
@@ -117,7 +117,9 @@
#if defined(_WIN32) && !defined(__GNUC__)
#define xalloca _alloca
#ifdef NOT_RUBY
-#define vsnprintf _vsnprintf
+#if _MSC_VER < 1500
+# define vsnprintf _vsnprintf
+#endif
#endif
#else
#define xalloca alloca