summaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:40:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-28 09:40:04 +0000
commitd599ca76332502fd567661ac3e23d2abb5e489fc (patch)
treecb2642b53264935a67f037ff2f98d1d51606a5ea /sprintf.c
parent1c9b223832832ec6fc4e8139ceb4e387854f2f32 (diff)
downloadruby-d599ca76332502fd567661ac3e23d2abb5e489fc.tar.gz
ruby-d599ca76332502fd567661ac3e23d2abb5e489fc.tar.xz
ruby-d599ca76332502fd567661ac3e23d2abb5e489fc.zip
* 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
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 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