From e6169922421dd23591ed4b534c09032e1d3e9466 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 7 Dec 2005 22:42:57 +0000 Subject: [PATCH] Fixed compilation with our PPC compiler. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15403 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/stdlib/strtod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/libroot/posix/stdlib/strtod.c b/src/system/libroot/posix/stdlib/strtod.c index 1a77bf5cf6..dcf51170eb 100644 --- a/src/system/libroot/posix/stdlib/strtod.c +++ b/src/system/libroot/posix/stdlib/strtod.c @@ -114,7 +114,7 @@ */ #if defined(__i386__) || defined(__ia64__) || defined(__alpha__) || \ - defined(__sparc64__) || defined(__powerpc__) + defined(__sparc64__) || defined(__powerpc__) || defined(__POWERPC__) # include # if BYTE_ORDER == BIG_ENDIAN # define IEEE_BIG_ENDIAN @@ -197,7 +197,7 @@ extern "C" { #if defined(IEEE_LITTLE_ENDIAN) + defined(IEEE_BIG_ENDIAN) + defined(VAX) + \ defined(IBM) != 1 -Only one of IEEE_LITTLE_ENDIAN, IEEE_BIG_ENDIAN, VAX, or IBM should be defined. +#error Only one of IEEE_LITTLE_ENDIAN, IEEE_BIG_ENDIAN, VAX, or IBM should be defined. #endif union doubleasulongs {