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
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
January 16, 2001
|
||||||
|
* [antonin] convert.c: inclusion of endian.h has to be different on APPLE platforms
|
||||||
|
|
||||||
January 13, 2001
|
January 13, 2001
|
||||||
+ [rdieter] add pkg-config support to cmake
|
+ [rdieter] add pkg-config support to cmake
|
||||||
! [rdieter] adjust autotools pkg-config support to match
|
! [rdieter] adjust autotools pkg-config support to match
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define BYTE_ORDER LITTLE_ENDIAN
|
#define BYTE_ORDER LITTLE_ENDIAN
|
||||||
|
#elif __APPLE__
|
||||||
|
#include <machine/endian.h>
|
||||||
#else
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue