summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2018-03-18 20:52:40 -0400
committerHubert Figuière <hub@figuiere.net>2018-03-18 21:36:26 -0400
commitc80a0d5be68b95a9ec437433c5432615a8a49789 (patch)
tree261acedf548b5eca3f637fdc011a19a820e7c024
parentc523a9515d62e15b77789213227ffb605325ee22 (diff)
Bug 105580 - use alignment-safe copy on ARM on Linux
Detect ARM target arch and define XMP_IOS_ARM to enable specific memory handling in the XMP SDK code. Signed-off-by: Hubert Figuière <hub@figuiere.net>
-rw-r--r--public/include/XMP_Environment.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/include/XMP_Environment.h b/public/include/XMP_Environment.h
index d8bab98..8c5d5a1 100644
--- a/public/include/XMP_Environment.h
+++ b/public/include/XMP_Environment.h
@@ -155,6 +155,9 @@
#define XMP_HELPER_DLL_IMPORT
#define XMP_HELPER_DLL_EXPORT
#define XMP_HELPER_DLL_PRIVATE
+ #ifdef __arm__
+ #define XMP_IOS_ARM 1
+ #endif
#endif
// =================================================================================================