From d599ca76332502fd567661ac3e23d2abb5e489fc Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 28 Dec 2008 09:40:04 +0000 Subject: * sprintf.c: not force to override snprintf/vsnprintf. [ruby-core:20824] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ sprintf.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d65be7c39..e8ca6d614 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Dec 28 18:39:57 2008 Nobuyoshi Nakada + + * sprintf.c: not force to override snprintf/vsnprintf. + [ruby-core:20824] + Sun Dec 28 17:21:36 2008 NARUSE, Yui * test/rubygems/test_ext_configure_builder.rb (test_self_build_fail): diff --git a/sprintf.c b/sprintf.c index cc8f097e5..83560def9 100644 --- a/sprintf.c +++ b/sprintf.c @@ -1081,12 +1081,9 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec) # define u_quad_t unsigned LONG_LONG # endif #endif -#undef vsnprintf #undef snprintf #define FLOATING_POINT 1 #define BSD__dtoa ruby_dtoa -#undef HAVE_VSNPRINTF -#undef HAVE_SNPRINTF #if _MSC_VER >= 1300 #pragma warning(disable: 4273) #endif -- cgit