Fix Windows LZX compression endianness bug

This commit is contained in:
Marshall T. Vandegrift 2008-12-18 22:31:23 -05:00
parent 4ce36e8225
commit 99bdab5d69

View File

@ -32,9 +32,11 @@
#include <assert.h> #include <assert.h>
#include <math.h> #include <math.h>
#if BYTE_ORDER == BIG_ENDIAN #ifdef BYTE_ORDER
#define LZX_BIG_ENDIAN # if BYTE_ORDER == BIG_ENDIAN
#endif # define LZX_BIG_ENDIAN
# endif /* BYTE_ORDER == BIG_ENDIAN */
#endif /* BYTE_ORDER */
#ifdef NONSLIDE #ifdef NONSLIDE
#include "lzc.h" #include "lzc.h"