summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-10-03 16:52:50 +0300
committerTor Lillqvist <tml@iki.fi>2011-10-03 16:58:43 +0300
commit84e2f8ff43f2b59cd93a7df9ededdffa8bb87ef5 (patch)
tree62dc89cfd27671ac202cfe66d54b879cd5d9b175 /vcl/aqua
parente5c80a1f1c527196f29041290328e988cd80475b (diff)
Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/window/salframeview.mm5
1 files 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
{