]> granicus.if.org Git - openjpeg/commitdiff
convert.c: inclusion of endian.h has to be different on APPLE platforms
authorAntonin Descampe <antonin@gmail.com>
Sun, 16 Jan 2011 16:23:12 +0000 (16:23 +0000)
committerAntonin Descampe <antonin@gmail.com>
Sun, 16 Jan 2011 16:23:12 +0000 (16:23 +0000)
CHANGES
codec/convert.c

diff --git a/CHANGES b/CHANGES
index aa83d2a1841687e6f41408232a187a8ff72da28f..e080825a0596c26a9b3a9be84207c2a7a5636abf 100644 (file)
--- a/CHANGES
+++ b/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
index e336f98f4d0b52f00a35192e7585f40ddb1c3787..088a5c586fdc01bc669b2a3494d0c6fab08fbcd5 100644 (file)
@@ -37,6 +37,8 @@
 
 #ifdef _WIN32
 #define BYTE_ORDER LITTLE_ENDIAN
+#elif __APPLE__
+#include <machine/endian.h>
 #else
 #include <endian.h>
 #endif