(OSX) Fixes

This commit is contained in:
neville 2016-06-08 07:41:59 +02:00
parent 0a7bc4d21f
commit f170856374
3 changed files with 7 additions and 5 deletions

View File

@ -31,6 +31,7 @@
#endif
#endif
#include <compat/apple_compat.h>
#include <retro_assert.h>
#import "../../ui/drivers/cocoa/cocoa_common.h"
@ -163,7 +164,7 @@ void *get_chosen_screen(void)
if (settings->video.monitor_index >= screens.count)
{
RARCH_WARN("video_monitor_index is greater than the number of connected monitors; using main screen instead.\n");
RARCH_WARN("video_monitor_index is greater than the number of connected monitors; using main screen instead.");
#if __has_feature(objc_arc)
return (__bridge void*)screens;
#else

View File

@ -282,7 +282,7 @@
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = (
"-DHAVE_GRIFFIN",
"-DHAVE_LANGEXTRA",
"-DHAVE_LANGEXTRA",
"-DHAVE_CHEEVOS",
"-DHAVE_STB_FONT",
"-DHAVE_IOHIDMANAGER",
@ -316,7 +316,7 @@
"-DHAVE_ZARCH",
"-DHAVE_HID",
"-DHAVE_XMB",
"-DHAVE_SHADERPIPELINE",
"-DHAVE_SHADERPIPELINE",
"-DHAVE_MMAP",
"-DHAVE_LIBRETRODB",
"-DHAVE_FILTERS_BUILTIN",
@ -356,7 +356,7 @@
"-DNS_BLOCK_ASSERTIONS=1",
"-DNDEBUG",
"-DHAVE_GRIFFIN",
"-DHAVE_LANGEXTRA",
"-DHAVE_LANGEXTRA",
"-DHAVE_CHEEVOS",
"-DHAVE_STB_FONT",
"-DHAVE_IOHIDMANAGER",
@ -390,7 +390,7 @@
"-DHAVE_ZARCH",
"-DHAVE_HID",
"-DHAVE_XMB",
"-DHAVE_SHADERPIPELINE",
"-DHAVE_SHADERPIPELINE",
"-DHAVE_MMAP",
"-DHAVE_LIBRETRODB",
"-DHAVE_FILTERS_BUILTIN",

View File

@ -20,6 +20,7 @@
#ifdef HAVE_COCOA
#include "../ui_cocoa.h"
#endif
#include "../../../verbosity.h"
/* Define compatibility symbols and categories. */