Kaydet (Commit) c6dbbdf8 authored tarafından Pedro Giffuni's avatar Pedro Giffuni Kaydeden (comit) Caolán McNamara

i125711 - Illumos port: generalize MAX_ALIGNMENT for Solaris

GCC in Ilumos appears to behave exactly like the Solaris SUNPRO
compiler so generalize the case for Solaris.

(cherry picked from commit e1da117c)

Change-Id: I3fa619f34c35608b187c3aa394552ac78c3f0c20
üst d5443023
......@@ -333,8 +333,10 @@ namespace cppu {
// <sal/typesizes.h> ?
#if (defined(INTEL) \
&& (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD)) \
|| defined(MACOSX) || defined(DRAGONFLY))) \
&& (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) || \
defined(NETBSD) || defined(OPENBSD) || \
defined(DRAGONFLY) || defined(SOLARIS)) \
|| defined(MACOSX) )) \
|| defined(IOS)
#define MAX_ALIGNMENT_4
#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