vcl/aqua/source/gdi/salgdicommon.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0b3c72fe89d3e1d56d148114a64ddaf97040a179 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Mar 20 15:24:16 2013 +0100 Improve previous __BIG_ENDIAN__ fix Change-Id: Ic7ca080e00d94f93306f65ba17ffc23dd4d746e7 diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx index 57dff45..5b78f33 100644 --- a/vcl/aqua/source/gdi/salgdicommon.cxx +++ b/vcl/aqua/source/gdi/salgdicommon.cxx @@ -18,6 +18,7 @@ */ #include <sal/types.h> +#include <osl/endian.h> #include <osl/file.hxx> #include "basegfx/polygon/b2dpolygon.hxx" @@ -1130,7 +1131,7 @@ SalColor AquaSalGraphics::getPixel( long nX, long nY ) // prepare creation of matching a CGBitmapContext CGColorSpaceRef aCGColorSpace = GetSalData()->mxRGBSpace; CGBitmapInfo aCGBmpInfo = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Big; -#if defined __BIG_ENDIAN__ +#if defined OSL_BIGENDIAN struct{ unsigned char b, g, r, a; } aPixel; #else struct{ unsigned char a, r, g, b; } aPixel; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits