convert.c: inclusion of endian.h has to be different on APPLE platforms
This commit is contained in:
parent
51f7cc6874
commit
420750f5ca
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
|||
! : changed
|
||||
+ : added
|
||||
|
||||
January 16, 2001
|
||||
* [antonin] convert.c: inclusion of endian.h has to be different on APPLE platforms
|
||||
|
||||
January 13, 2001
|
||||
+ [rdieter] add pkg-config support to cmake
|
||||
! [rdieter] adjust autotools pkg-config support to match
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#define BYTE_ORDER LITTLE_ENDIAN
|
||||
#elif __APPLE__
|
||||
#include <machine/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue