From 076b6a226f158e51a6683129954192537f2e3e0c Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 12 Aug 2008 07:06:33 +0000 Subject: * sprintf.c, util.c (quorem, nrv_alloc, dtoa): enabled floating point support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sprintf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sprintf.c') diff --git a/sprintf.c b/sprintf.c index 0fa93f241a..16a8f61b90 100644 --- a/sprintf.c +++ b/sprintf.c @@ -1034,6 +1034,8 @@ fmt_setup(char *buf, int c, int flags, int width, int prec) #endif #undef vsnprintf #undef snprintf +#define FLOATING_POINT 1 +#define BSD__dtoa dtoa #include "missing/vsnprintf.c" static int -- cgit v1.2.3