diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-03 16:17:43 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-12-03 16:17:43 +0000 |
commit | 1920fa4619092b55e2cc9c9e976d5d3158745de6 (patch) | |
tree | 52ff3616d6a0af816ccc34a7344cce5bceca85f4 /converter/other/fiasco/lib/rpf.c | |
parent | 2a536013ae18d7f7b684d302256f0bf1c44a3692 (diff) | |
download | netpbm-mirror-1920fa4619092b55e2cc9c9e976d5d3158745de6.tar.gz netpbm-mirror-1920fa4619092b55e2cc9c9e976d5d3158745de6.tar.xz netpbm-mirror-1920fa4619092b55e2cc9c9e976d5d3158745de6.zip |
Release 10.48.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1023 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/fiasco/lib/rpf.c')
-rw-r--r-- | converter/other/fiasco/lib/rpf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/converter/other/fiasco/lib/rpf.c b/converter/other/fiasco/lib/rpf.c index ac7d48ca..84c1f9b6 100644 --- a/converter/other/fiasco/lib/rpf.c +++ b/converter/other/fiasco/lib/rpf.c @@ -16,6 +16,7 @@ * $State: Exp $ */ +#include "pm_config.h" #include "config.h" #include "types.h" @@ -30,7 +31,7 @@ * or all following code is void! */ -#ifdef WORDS_BIGENDIAN +#if BYTE_ORDER == BIG_ENDIAN /* * Big-Endian Architecture (e.g. SUN, Motorola) * Memory representation of integer 0x00112233 is 00,11,22,33 @@ -38,7 +39,7 @@ enum real_bytes {BYTE_0, BYTE_1, BYTE_2, BYTE_3}; -#else /* not WORDS_BIGENDIAN */ +#else /* * Little-Endian Architecture (e.g. Intel, VAX, Alpha) * Memory representation of integer 0x00112233 is 33,22,11,00 @@ -46,7 +47,7 @@ enum real_bytes {BYTE_0, BYTE_1, BYTE_2, BYTE_3}; enum real_bytes {BYTE_3, BYTE_2, BYTE_1, BYTE_0}; -#endif /* not WORDS_BIGENDIAN */ +#endif const int RPF_ZERO = -1; |