From 44bffd9f6f27b197e38424797bc07eefef69c6d7 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 22 Sep 2004 22:59:16 +0200 Subject: configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN. 2004-09-22 Andreas Tobler * 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 --- libjava/include/config.h.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libjava/include') 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 -- cgit v1.2.3