From 7a97d300b4d334ffc378ea7a99b171f3e975021d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 25 Nov 2013 16:48:07 +0100 Subject: [PATCH] (OSX) Fix build --- apple/common/main.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apple/common/main.m b/apple/common/main.m index daba463753..408cdf0f39 100644 --- a/apple/common/main.m +++ b/apple/common/main.m @@ -38,11 +38,13 @@ void apple_run_core(NSString* core, const char* file) { if (!apple_is_running) { +#ifndef OSX char basedir[256]; fill_pathname_basedir(basedir, file, sizeof(basedir)); if (file && access(basedir, R_OK | W_OK | X_OK)) apple_display_alert(@"The directory containing the selected file has limited permissions. This may " "prevent zipped games from loading, and will cause some cores to not function.", 0); +#endif [apple_platform loadingCore:core withFile:file];