summaryrefslogtreecommitdiff
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
commitca658280142cd822f4193bd3cb80bd6f4fbed877 (patch)
treecb2642b53264935a67f037ff2f98d1d51606a5ea /sprintf.c
parentfaa2987d54426345cf2ad8494b107b697c11e781 (diff)
* sprintf.c: not force to override snprintf/vsnprintf.
[ruby-core:20824] git-svn-id: svn+ssh://ci.ruby-lang.org/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 cc8f097..83560de 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