]> granicus.if.org Git - php/commitdiff
- fix VC9 build (5.3+)
authorPierre Joye <pajoye@php.net>
Wed, 30 Jul 2008 08:38:37 +0000 (08:38 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 30 Jul 2008 08:38:37 +0000 (08:38 +0000)
  Please do not revert this fix again and to merge 5.3's changes to HEAD

ext/mbstring/oniguruma/regint.h

index e7ddad8c5dc1bc140e0156119cf877bfeed04acd..d6819d8f949d4d01dd81f7ff512ec853b7779ac4 100644 (file)
 #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