Allow building using make on OSX

This commit is contained in:
Jean-André Santoni 2019-11-30 12:37:58 +07:00
parent b382ea2a33
commit ba2c870d95
No known key found for this signature in database
GPG Key ID: 9D694E373914CC36

View File

@ -38,6 +38,7 @@
#include "../../ui/drivers/ui_cocoa.h" #include "../../ui/drivers/ui_cocoa.h"
#include "../../ui/drivers/cocoa/cocoa_common.h" #include "../../ui/drivers/cocoa/cocoa_common.h"
#include "../../ui/drivers/cocoa/apple_platform.h"
#include "../../configuration.h" #include "../../configuration.h"
#include "../../retroarch.h" #include "../../retroarch.h"
#include "../../verbosity.h" #include "../../verbosity.h"
@ -370,7 +371,7 @@ float cocoagl_gfx_ctx_get_native_scale(void)
static void cocoagl_gfx_ctx_update_title(void *data, void *data2) static void cocoagl_gfx_ctx_update_title(void *data, void *data2)
{ {
const ui_window_t *window = ui_companion_driver_get_window_ptr(); const ui_window_t *window = ui_companion_driver_get_window_ptr();
if (window) if (window)
{ {
char title[128]; char title[128];