Skip to content
Permalink
Browse files

GUI: use newer define for OS X 10.10+

  • Loading branch information
aquadran committed Dec 5, 2014
1 parent be48932 commit 9649e919e31343d8f91acafede84caa547cee678
Showing with 4 additions and 0 deletions.
  1. +4 −0 gui/browser_osx.mm
@@ -154,7 +154,11 @@ - (IBAction) showHiddenFiles : (id) sender {
[showHiddenFilesButton setAction:@selector(showHiddenFiles:)];
}

#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1090
if ([panel runModal] == NSOKButton) {
#else
if ([panel runModal] == NSModalResponseOK) {
#endif
NSURL *url = [panel URL];
if ([url isFileURL]) {
const char *filename = [[url path] UTF8String];

0 comments on commit 9649e91

Please sign in to comment.
You can’t perform that action at this time.