From 0be1f7d80eff8e3e86b037958be3ab5217ce9b59 Mon Sep 17 00:00:00 2001 From: millert <> Date: Tue, 19 Feb 2002 19:39:38 +0000 Subject: We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. --- src/lib/libc/stdlib/strtod.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/libc/stdlib/strtod.c') diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c index 44cc369b16..ce7ce9fe56 100644 --- a/src/lib/libc/stdlib/strtod.c +++ b/src/lib/libc/stdlib/strtod.c @@ -90,7 +90,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strtod.c,v 1.14 2001/07/09 06:57:45 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strtod.c,v 1.15 2002/02/19 19:39:37 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ @@ -153,7 +153,6 @@ extern void *MALLOC(size_t); #include "errno.h" #ifdef Bad_float_h -#undef __STDC__ #ifdef IEEE_BIG_ENDIAN #define IEEE_ARITHMETIC #endif @@ -1429,7 +1428,7 @@ strtod if (e1 > DBL_MAX_10_EXP) { ovfl: errno = ERANGE; -#ifdef __STDC__ +#ifndef Bad_float_h value(rv) = HUGE_VAL; #else /* Can't trust HUGE_VAL */ -- cgit v1.2.3-55-g6feb