diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index cc76c7624a3e..388dffd90a8f 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -46,7 +46,7 @@ #include #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