summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-11 14:55:58 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-11 14:55:58 +0000
commit153677ed3dd0930a523459b6e43aac79967bee56 (patch)
tree43eadf99fd055616e7966e8ee29f2500eb0647b6 /sprintf.c
parenteeb723491949b8cd0d2c61cdf15aae1061f19bb3 (diff)
* process.c: silence VC++ warnings.
* sprintf.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index 178f81f192..a2520b4ac3 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -18,7 +18,7 @@
#define BIT_DIGITS(N) (((N)*146)/485 + 1) /* log2(10) =~ 146/485 */
-#ifndef atof
+#if !defined(atof) && !defined(HAVE_STDLIB_H)
double strtod();
#endif