From 87eecc899277cf303a00f0d70b4196477ba52402 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 12 Oct 2006 00:27:47 +0000 Subject: [PATCH] reorder #if tests because apparently on amd64 cpp proceeds to blow it's own brains out, and then takes lint down with it. To be investigated... --- src/lib/libc/stdlib/strtod.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c index 924d4641..98a49e57 100644 --- a/src/lib/libc/stdlib/strtod.c +++ b/src/lib/libc/stdlib/strtod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtod.c,v 1.24 2006/10/10 22:03:22 miod Exp $ */ +/* $OpenBSD: strtod.c,v 1.25 2006/10/12 00:27:47 deraadt Exp $ */ /**************************************************************** * * The author of this software is David M. Gay. @@ -92,8 +92,9 @@ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \ defined(__powerpc__) || defined(__m88k__) || defined(__hppa__) || \ - defined(__x86_64__) || (defined(__arm__) && defined(__VFP_FP__)) || \ - defined(__sh__) + defined(__x86_64__) || defined(__sh__) || \ + (defined(__arm__) && defined(__VFP_FP__)) + #include #if BYTE_ORDER == BIG_ENDIAN #define IEEE_BIG_ENDIAN