From 84e2f8ff43f2b59cd93a7df9ededdffa8bb87ef5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 Oct 2011 16:52:50 +0300 Subject: [PATCH] Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API --- vcl/aqua/source/window/salframeview.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm index 54ebe8090f1c..6f451f57f33e 100644 --- a/vcl/aqua/source/window/salframeview.mm +++ b/vcl/aqua/source/window/salframeview.mm @@ -1597,11 +1597,10 @@ private: return 0; } -#if defined(MAC_OS_X_VERSION_10_5) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) -/* build target 10.5 or greater */ +#if defined(MAC_OS_X_VERSION_10_5) +/* SDK 10.5 or greater, even if MAC_OS_X_VERSION_MAX_ALLOWED might be less than 10.5 */ - (NSInteger)conversationIdentifier #else -/* build target 10.4 */ - (long)conversationIdentifier #endif {