diff options
| author | Antonin Descampe <antonin@gmail.com> | 2011-01-16 16:23:12 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2011-01-16 16:23:12 +0000 |
| commit | 420750f5cadc09c03b63ea9643752d9c30f0338a (patch) | |
| tree | 93b4c91fb5753173d1a70b0ebb05c85adc5a5f6a | |
| parent | 51f7cc6874d9d61e1f6c23936a6b5a6f080d78d3 (diff) | |
convert.c: inclusion of endian.h has to be different on APPLE platforms
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | codec/convert.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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 diff --git a/codec/convert.c b/codec/convert.c index e336f98f..088a5c58 100644 --- a/codec/convert.c +++ b/codec/convert.c @@ -37,6 +37,8 @@ #ifdef _WIN32 #define BYTE_ORDER LITTLE_ENDIAN +#elif __APPLE__ +#include <machine/endian.h> #else #include <endian.h> #endif |
