aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2011-08-20 10:21:43 +1000
committernyamatongwe <nyamatongwe@gmail.com>2011-08-20 10:21:43 +1000
commit4b57ac7b563874a1c6dbaee4d68e0259e033ab3f (patch)
treedcbb6ab6993e2e5a06d8aeecd49e46267e471470
parent9dbae2df5e0ecc9708925679f269c356f80ab287 (diff)
downloadscintilla-mirror-4b57ac7b563874a1c6dbaee4d68e0259e033ab3f.tar.gz
Specify that AutoCompletionDataSource implements NSTableViewDataSource
protocol only when building for later than 10.5 so SDK has to know about that protocol.
-rw-r--r--cocoa/PlatCocoa.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index e2e2915f5..22eadec0f 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1462,7 +1462,10 @@ public:
class ListBoxImpl;
@interface AutoCompletionDataSource :
-NSObject <NSTableViewDataSource>
+NSObject
+#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
+<NSTableViewDataSource>
+#endif
{
ListBoxImpl* box;
}