Package: e00compr Followup-For: Bug #339020 --- cpl_port.h 2005-09-17 15:56:44.000000000 +0200 +++ /tmp/cpl_port.h 2005-11-14 16:15:48.000000000 +0100 @@ -171,9 +171,18 @@ * This should be defined in the Makefile, but if it is not then * the default is CPL_LSB (Intel ordering, LSB first). *--------------------------------------------------------------------*/ +/* #if ! ( defined(CPL_LSB) || defined(CPL_MSB) ) #define CPL_LSB #endif +*/ + +#include <endian.h> +#if __BYTE_ORDER == __LITTLE_ENDIAN +# define CPL_LSB +#elif __BYTE_ORDER == __BIG_ENDIAN +# define CPL_MSB +#endif /*--------------------------------------------------------------------- * Little endian <==> big endian byte swap macros.
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel