summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/dng_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dng_memory.cpp b/source/dng_memory.cpp
index c9554ef..8c71dce 100644
--- a/source/dng_memory.cpp
+++ b/source/dng_memory.cpp
@@ -171,7 +171,7 @@ dng_malloc_block::dng_malloc_block (uint32 logicalSize)
{
-#if qLinux && !defined(__ARM_NEON) && !defined(__mips__)
+#if qLinux && !defined(__ARM_NEON) && !defined(__mips__) && !defined(NO_POSIX_MEMALIGN)
int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() );