This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Patch1 darwin & libgcj
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: GCC-Java <java at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 29 Dec 2001 17:54:51 +0100
- Subject: Patch1 darwin & libgcj
- Organization: zero
Hi,
this is the first patch from my side to make libgcj compile under darwin5.2.
It defines the IEEE_BIG_ENDIAN in ieeefp.h since darwin doesn't know the
switch __PPC__.
Welcome for comments and corrections.
Andreas
P.s. the mail goes to gcc-patches since it is noted so...
2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>
* libjava/java/lang/ieeefp.h
define IEEE_BIG_ENDIAN for darwin
--- gccclean/gcc/libjava/java/lang/ieeefp.h Sat Dec 29 12:42:31 2001
+++ gccsrc/gcc/libjava/java/lang/ieeefp.h Fri Dec 28 14:33:50 2001
@@ -96,6 +96,11 @@
#define __IEEE_LITTLE_ENDIAN
#endif
+#ifdef __APPLE__
+#define __IEEE_BIG_ENDIAN
+#endif
+
+
#ifdef __PPC__
#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX)
#define __IEEE_BIG_ENDIAN