summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 07:19:03 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 07:19:03 +0000
commit4cd4eda7bb9856a374392d5057e090162de84328 (patch)
treeec58f2f8310fbb0d03df8a28bcefcd6eb0bc28b8 /sprintf.c
parent2cd1b4412b9f998c0e09c2991b7865ded2400273 (diff)
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
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c3
1 files changed, 0 insertions, 3 deletions
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