From 4e00d919d2ddc33ffa0b87c12775b5338f035413 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 30 Jul 2008 08:38:37 +0000 Subject: [PATCH] - fix VC9 build (5.3+) Please do not revert this fix again and to merge 5.3's changes to HEAD --- ext/mbstring/oniguruma/regint.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1