aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2004-09-22 22:59:16 +0200
committerAndreas Tobler <andreast@gcc.gnu.org>2004-09-22 22:59:16 +0200
commit44bffd9f6f27b197e38424797bc07eefef69c6d7 (patch)
treee1501afe85b73d4549a17f206fa2d5c8ac3803e3 /libjava/include
parent08fb229ea8fa630c482553f284eeeed6c6a44c25 (diff)
configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN. * configure: Regenerate. * include/config.h.in: Likewise. * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32 macro to gtkpeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian architectures. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): Likewise. From-SVN: r87889
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 0429517ac1e..8722869e280 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -1,5 +1,8 @@
/* include/config.h.in. Generated from configure.ac by autoheader. */
+/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
+#undef BYTEORDER
+
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
@@ -351,6 +354,10 @@
/* Define to 1 if you have the file `AC_File'. */
#undef HAVE__PROC_SELF_EXE
+/* Define if the host machine stores words of multi-word integers in
+ big-endian order. */
+#undef HOST_WORDS_BIG_ENDIAN
+
/* Define as const if the declaration of iconv() needs const. */
#undef ICONV_CONST
@@ -441,6 +448,9 @@
/* Version number of package */
#undef VERSION
+/* whether byteorder is bigendian */
+#undef WORDS_BIGENDIAN
+
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING