summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 10:11:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 10:11:07 +0000
commit00cb692395f97ee180342be2f768e8e49b42c2f9 (patch)
tree50cb48821a93745b65c0b747ba2a08be91d8f8c3
parent08b4f9138cd3614454d35f61478e6145433682d4 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--win32/Makefile.sub4
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e8ca6d614bc..416d04a82cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Sun Dec 28 18:39:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Sun Dec 28 19:11:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * 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 96dbfebc8ef..a567c7799f2 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