[Libreoffice-commits] core.git: vcl/aqua
Stephan Bergmann
sbergman at redhat.com
Wed Mar 20 06:39:26 PDT 2013
vcl/aqua/source/gdi/salgdicommon.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 334212593313199bc4549efdca849964c313b037
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 20 14:38:57 2013 +0100
-Werror,-Wundef
Change-Id: I197fcafa3d39e5ec312d7e0c56b076a479391a73
diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx
index 214a6ab..57dff45 100644
--- a/vcl/aqua/source/gdi/salgdicommon.cxx
+++ b/vcl/aqua/source/gdi/salgdicommon.cxx
@@ -1130,7 +1130,7 @@ SalColor AquaSalGraphics::getPixel( long nX, long nY )
// prepare creation of matching a CGBitmapContext
CGColorSpaceRef aCGColorSpace = GetSalData()->mxRGBSpace;
CGBitmapInfo aCGBmpInfo = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Big;
-#if __BIG_ENDIAN__
+#if defined __BIG_ENDIAN__
struct{ unsigned char b, g, r, a; } aPixel;
#else
struct{ unsigned char a, r, g, b; } aPixel;
More information about the Libreoffice-commits
mailing list