summaryrefslogtreecommitdiffstats
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
commit0895f184309916a19e7c37e1704c392546c92811 (patch)
treeec58f2f8310fbb0d03df8a28bcefcd6eb0bc28b8 /sprintf.c
parent31513fce6de399451e094d29fe777fb24db3d786 (diff)
merges r21115 from trunk into ruby_1_9_1.
* sprintf.c: not force to override snprintf/vsnprintf. [ruby-core:20824] git-svn-id: http://svn.ruby-lang.org/repos/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 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