aboutsummaryrefslogtreecommitdiffstats
path: root/common/jpeg/jmemmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/jpeg/jmemmgr.c')
-rw-r--r--common/jpeg/jmemmgr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/jpeg/jmemmgr.c b/common/jpeg/jmemmgr.c
index 5b335673..058a1157 100644
--- a/common/jpeg/jmemmgr.c
+++ b/common/jpeg/jmemmgr.c
@@ -70,7 +70,11 @@ extern char * getenv JPP((const char * name));
*/
#ifndef ALIGN_SIZE /* so can override from jconfig.h */
+#ifndef WITH_SIMD
#define ALIGN_SIZE SIZEOF(double)
+#else
+#define ALIGN_SIZE 16 /* Most SIMD implementations require this */
+#endif
#endif
/*