From f79f70b96a316e21486950a769958a7d7bdf7033 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 3 Dec 2015 17:18:33 +0000 Subject: Removed compilation warning with SDKs 10.3 and 10.4u git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index f29e96e67..ef4b06e14 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2726,7 +2726,13 @@ static FLTextInputContext* fltextinputcontext_instance = nil; return [[self window] level]; } -- (NSInteger)conversationIdentifier { +- ( +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 + NSInteger +#else + long +#endif +)conversationIdentifier { return identifier; } @end -- cgit v1.2.3