summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 07:06:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 07:06:33 +0000
commit076b6a226f158e51a6683129954192537f2e3e0c (patch)
tree98ee6200fe09096a110afdaf5f9db3ab30616dfd /sprintf.c
parente2159ba730c387248a051f8744ac95134fcfa79d (diff)
* 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
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sprintf.c b/sprintf.c
index 0fa93f2..16a8f61 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