From 4cd4eda7bb9856a374392d5057e090162de84328 Mon Sep 17 00:00:00 2001 From: yugui Date: Mon, 29 Dec 2008 07:19:03 +0000 Subject: merges r21115 from trunk into ruby_1_9_1. * sprintf.c: not force to override snprintf/vsnprintf. [ruby-core:20824] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sprintf.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sprintf.c') diff --git a/sprintf.c b/sprintf.c index cc8f097e5b..83560def99 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 v1.2.3