OSDN Git Service

* include/posix.h: .dylib is used on all Apple MACH platforms.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2005 20:10:16 +0000 (20:10 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2005 20:10:16 +0000 (20:10 +0000)
        * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96889 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/include/posix.h
libjava/java/lang/ieeefp.h

index a744f8d..276cb72 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-22  Mike Stump  <mrs@apple.com>
+
+       * include/posix.h: .dylib is used on all Apple MACH platforms.
+       * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
+
 2005-03-22  Tom Tromey  <tromey@redhat.com>
 
        * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
index c8cd5e2..28ac243 100644 (file)
@@ -42,7 +42,7 @@ details.  */
 
 // Prefix and suffix for shared libraries.
 #define _Jv_platform_solib_prefix "lib"
-#if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
+#if defined(__APPLE__) && defined(__MACH__)
 #define _Jv_platform_solib_suffix ".dylib"
 #else
 #define _Jv_platform_solib_suffix ".so"
index 5854726..3638d54 100644 (file)
 #define __IEEE_LITTLE_ENDIAN
 #endif
 
-#if defined (__PPC__) || defined (__ppc__)
+#if defined (__PPC__) || defined (__ppc__) || defined (__ppc64__)
 #if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) \
     || defined (__APPLE__)
 #define __IEEE_BIG_ENDIAN