Merge pull request #687 from stweil/memalign
Fix fatal crash on 64 bit Linux
This commit is contained in:
commit
0dd44e7dba
|
@ -32,6 +32,10 @@
|
|||
#define OPJ_SKIP_POISON
|
||||
#include "opj_includes.h"
|
||||
|
||||
#if defined(OPJ_HAVE_MALLOC_H) && defined(OPJ_HAVE_MEMALIGN)
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
# define SIZE_MAX ((size_t) -1)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue