mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Windows LZX compression endianness bug
This commit is contained in:
parent
4ce36e8225
commit
99bdab5d69
@ -32,9 +32,11 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#define LZX_BIG_ENDIAN
|
||||
#endif
|
||||
#ifdef BYTE_ORDER
|
||||
# if BYTE_ORDER == BIG_ENDIAN
|
||||
# define LZX_BIG_ENDIAN
|
||||
# endif /* BYTE_ORDER == BIG_ENDIAN */
|
||||
#endif /* BYTE_ORDER */
|
||||
|
||||
#ifdef NONSLIDE
|
||||
#include "lzc.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user