Patch1 darwin & libgcj

Andreas Tobler toa@pop.agri.ch
Sat Dec 29 09:12:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /