[Libreoffice-commits] .: vcl/aqua

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Dec 21 08:39:10 PST 2012


 vcl/aqua/source/window/salframe.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d978085ab2ffb2380bacf01af42a06f7fbd3d179
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Dec 21 18:38:36 2012 +0200

    Try harder to fix build against 10.4 SDK

diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx
index cc76c76..388dffd 100644
--- a/vcl/aqua/source/window/salframe.cxx
+++ b/vcl/aqua/source/window/salframe.cxx
@@ -46,7 +46,7 @@
 #include <Carbon/Carbon.h>
 #include "postmac.h"
 
-#if !defined(MAC_OS_X_VERSION_10_7)
+#if MACOSX_SDK_VERSION < 1070
 
 enum {
     NSFullScreenWindowMask = (1 << 14)
@@ -57,9 +57,9 @@ enum {
     NSWindowCollectionBehaviorFullScreenAuxiliary = (1 << 8)
 };
 
-#if !defined(MAC_OS_X_VERSION_10_5)
+#if MACOSX_SDK_VERSION < 1050
 
-typedef unsigned int NSWindowCollectionBehavior;
+typedef NSUInteger NSWindowCollectionBehavior;
 
 #endif
 


More information about the Libreoffice-commits mailing list