I'm checking this in.
This is the patch from PR 27602, which also fixes 25650.
PR 25650 suggests a different #if, but I think this one is fine.
Tom
2006-04-19 Riccardo Mottola <[EMAIL PROTECTED]>
PR classpath/27062, PR classpath/25650:
* native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
Index: native/fdlibm/ieeefp.h
===================================================================
RCS file: /cvsroot/classpath/classpath/native/fdlibm/ieeefp.h,v
retrieving revision 1.7
diff -u -r1.7 ieeefp.h
--- native/fdlibm/ieeefp.h 14 Dec 2005 20:18:16 -0000 1.7
+++ native/fdlibm/ieeefp.h 19 Apr 2006 17:53:49 -0000
@@ -123,7 +123,7 @@
#define __IEEE_LITTLE_ENDIAN
#endif
-#if defined (__PPC__) || defined (__ppc__) || defined (__powerpc__) || defined
(__ppc64__)
+#if defined (__PPC__) || defined (__ppc__) || defined (__powerpc__) || defined
(__ppc64__) || defined (_POWER) || defined (_IBMR2)
#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) ||
defined (__BIG_ENDIAN__)|| defined (__APPLE__)
#define __IEEE_BIG_ENDIAN
#else