summaryrefslogtreecommitdiff
path: root/libopenjpeg
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-05-21 10:34:35 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-05-21 10:34:35 +0000
commit8cd13f3a55196ac1c727f65adf78900b41c8750b (patch)
tree2dbd473bb4d112f261524e3530eac35c35a71a53 /libopenjpeg
parenteeca4a220cb369cda8bc802a196319129e70302a (diff)
[1.5] Build fails on AIX
Fixes issue 139
Diffstat (limited to 'libopenjpeg')
-rw-r--r--libopenjpeg/opj_malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/opj_malloc.h b/libopenjpeg/opj_malloc.h
index 0b1d4fc1..f989b87f 100644
--- a/libopenjpeg/opj_malloc.h
+++ b/libopenjpeg/opj_malloc.h
@@ -84,7 +84,7 @@ Allocate memory aligned to a 16 byte boundry
#if defined(__sun)
#define HAVE_MEMALIGN
/* Linux x86_64 and OSX always align allocations to 16 bytes */
- #elif !defined(__amd64__) && !defined(__APPLE__)
+ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX)
#define HAVE_MEMALIGN
#include <malloc.h>
#endif