summaryrefslogtreecommitdiff
path: root/cppu/source/uno
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-13 22:48:47 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-21 00:00:02 +0200
commita8f19ca300794c7d270871f947838ea524bff8ed (patch)
tree3a293b8b896da4b7f6fb5d4a8ff4ac2f2eeb5886 /cppu/source/uno
parent77017cb9036902012e7228755896a200b5baf372 (diff)
Use MAX_ALIGNMENT_4 also for iOS
Diffstat (limited to 'cppu/source/uno')
-rw-r--r--cppu/source/uno/data.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx
index 1336a9b9132b..cdedb1e7f8bf 100644
--- a/cppu/source/uno/data.cxx
+++ b/cppu/source/uno/data.cxx
@@ -356,10 +356,13 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData(
#pragma pack(push, 8)
#endif
-#if defined(INTEL) \
- && (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) \
- || defined(NETBSD) || defined(OPENBSD)) || defined(MACOSX) || defined(DRAGONFLY) \
- || defined(__SUNPRO_CC) && defined(SOLARIS))
+// Why hardcode like this instead of using the (generated)
+// <sal/typesizes.h> ?
+
+#if (defined(INTEL) \
+ && (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD)) \
+ || defined(MACOSX) || defined(DRAGONFLY) || (defined(__SUNPRO_CC) && defined(SOLARIS)))) \
+ || defined(IOS)
#define MAX_ALIGNMENT_4
#endif