convert.c: inclusion of endian.h has to be different on APPLE platforms

This commit is contained in:
Antonin Descampe 2011-01-16 16:23:12 +00:00
parent 51f7cc6874
commit 420750f5ca
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -37,6 +37,8 @@
#ifdef _WIN32
#define BYTE_ORDER LITTLE_ENDIAN
#elif __APPLE__
#include <machine/endian.h>
#else
#include <endian.h>
#endif