Revert "Compatibility fixes for OSX PPC"

This reverts commit d7899c51aa7ef7b752be97409dafdca8d9597e11.
This commit is contained in:
twinaphex 2018-08-31 19:20:10 +02:00
parent 70f9abe99f
commit a58511ec00
3 changed files with 2 additions and 10 deletions

View File

@ -286,10 +286,6 @@ static void frontend_darwin_get_name(char *s, size_t len)
#endif
}
#ifndef MAC_OS_X_VERSION_10_10
#define MAC_OS_X_VERSION_10_10 101000
#endif
static void frontend_darwin_get_os(char *s, size_t len, int *major, int *minor)
{
#if defined(IOS)

View File

@ -404,10 +404,6 @@ static void cocoagl_gfx_ctx_show_mouse(void *data, bool state)
#endif
}
#ifndef MAC_OS_X_VERSION_10_10
#define MAC_OS_X_VERSION_10_10 101000
#endif
static bool cocoagl_gfx_ctx_set_video_mode(void *data,
video_frame_info_t *video_info,
unsigned width, unsigned height, bool fullscreen)
@ -450,7 +446,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
}
#endif
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
#if MAC_OS_X_VERSION_10_10
if (g_major == 4 && g_minor == 1)
{
attributes[6] = NSOpenGLPFAOpenGLProfile;

View File

@ -37,7 +37,7 @@
#include "../../retroarch.h"
#include "../../tasks/tasks_internal.h"
#ifdef HAVE_METAL
#if HAVE_METAL
#import <Metal/Metal.h>
#import <MetalKit/MetalKit.h>
#endif