From a5dcc4437e3354996f8242503d678f0eb5193809 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 26 Dec 2000 08:08:50 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sprintf.c') diff --git a/sprintf.c b/sprintf.c index 756de87ed9..cb567315ba 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 -- cgit v1.2.3