From 00cb692395f97ee180342be2f768e8e49b42c2f9 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 28 Dec 2008 10:11:07 +0000 Subject: * win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in msvcrt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 ++++- win32/Makefile.sub | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e8ca6d614b..416d04a82c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Sun Dec 28 18:39:57 2008 Nobuyoshi Nakada +Sun Dec 28 19:11:03 2008 Nobuyoshi Nakada + + * win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in + msvcrt. * sprintf.c: not force to override snprintf/vsnprintf. [ruby-core:20824] diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 96dbfebc8e..a567c7799f 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -422,10 +422,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_FLOCK 1 -#define HAVE_SNPRINTF 1 -!if $(MSC_VER) >= 1300 -#define HAVE_VSNPRINTF 1 -!endif #define HAVE_ISNAN 1 #define HAVE_FINITE 1 #define HAVE_HYPOT 1 -- cgit v1.2.3