Kaydet (Commit) a8f19ca3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use MAX_ALIGNMENT_4 also for iOS

üst 77017cb9
...@@ -356,10 +356,13 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData( ...@@ -356,10 +356,13 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData(
#pragma pack(push, 8) #pragma pack(push, 8)
#endif #endif
#if defined(INTEL) \ // Why hardcode like this instead of using the (generated)
&& (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) \ // <sal/typesizes.h> ?
|| defined(NETBSD) || defined(OPENBSD)) || defined(MACOSX) || defined(DRAGONFLY) \
|| defined(__SUNPRO_CC) && defined(SOLARIS)) #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 #define MAX_ALIGNMENT_4
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment