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 <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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user