fixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)
This commit is contained in:
parent
9a6f0596b0
commit
13209d2565
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
|||
! : changed
|
||||
+ : added
|
||||
|
||||
January 16, 2008
|
||||
* [antonin] fixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)
|
||||
|
||||
January 11, 2008
|
||||
+ [FOD] Added missing files to JavaOpenJPEG project (files from Patrick Piscaglia)
|
||||
|
||||
|
|
|
@ -76,8 +76,10 @@ Allocate memory aligned to a 16 byte boundry
|
|||
#if defined(__sun)
|
||||
#define HAVE_MEMALIGN
|
||||
#elif defined(__GNUC__)
|
||||
#define HAVE_MEMALIGN
|
||||
#include <malloc.h>
|
||||
#ifndef __APPLE__
|
||||
#define HAVE_MEMALIGN
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
/* Linux x86_64 and OSX always align allocations to 16 bytes */
|
||||
#elif !defined(__amd64__) && !defined(__APPLE__)
|
||||
/* FIXME: Yes, this is a big assumption */
|
||||
|
|
Loading…
Reference in New Issue