From: Pierre Joye Date: Wed, 30 Jul 2008 08:38:37 +0000 (+0000) Subject: - fix VC9 build (5.3+) X-Git-Tag: php-5.3.0alpha1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e00d919d2ddc33ffa0b87c12775b5338f035413;p=php - fix VC9 build (5.3+) Please do not revert this fix again and to merge 5.3's changes to HEAD --- diff --git a/ext/mbstring/oniguruma/regint.h b/ext/mbstring/oniguruma/regint.h index e7ddad8c5d..d6819d8f94 100644 --- a/ext/mbstring/oniguruma/regint.h +++ b/ext/mbstring/oniguruma/regint.h @@ -124,9 +124,11 @@ #define xmemmove memmove #if defined(_WIN32) && !defined(__GNUC__) #define xalloca _alloca +#if _MSC_VER < 1500 #ifndef vsnprintf #define vsnprintf _vsnprintf #endif +#endif #else #define xalloca alloca #endif