summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinan Hakim <kinan@google.com>2016-01-25 11:44:56 +0100
committerKinan Hakim <kinan@google.com>2016-01-25 11:44:56 +0100
commitfedcde0a2b96647a8da12b8c33e91e29a0b098c5 (patch)
tree3f7f0cc26287d09451f2e29d5619611ec305c2b8
parentb17cc907bdc7b973c5d5ed96c536c4327ad9838e (diff)
downloaddng_sdk-fedcde0a2b96647a8da12b8c33e91e29a0b098c5.tar.gz
Use malloc for NEON and MIPS, since for these it seems to be not available.
-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 42ae43a..c9554ef 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
+#if qLinux && !defined(__ARM_NEON) && !defined(__mips__)
int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() );