From c6dbbdf851911e0e3ae424245f1e088a3e689141 Mon Sep 17 00:00:00 2001 From: Pedro Giffuni Date: Wed, 25 Nov 2015 16:55:51 +0000 Subject: 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 e1da117c49fc02af9543e32526bf1c04657534c4) Change-Id: I3fa619f34c35608b187c3aa394552ac78c3f0c20 --- cppu/source/uno/data.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cppu') diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx index ed0ebdd292c2..f0da767cd4b5 100644 --- a/cppu/source/uno/data.cxx +++ b/cppu/source/uno/data.cxx @@ -333,8 +333,10 @@ namespace cppu { // ? #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 -- cgit