Skip to content

Commit bf4f678

Browse files
author
iss
committed
hack: fixes macOS cross build
1 parent 5ef6678 commit bf4f678

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

system_sdl.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,3 +627,14 @@ void SDL_COMPAT_TakeScreenshot(char *fname)
627627
}
628628
#endif
629629
#endif
630+
631+
// This is an ugly hack for OSX will be removed
632+
#ifdef __APPLE__
633+
int32_t __isPlatformVersionAtLeast(int32_t Major, int32_t Minor, int32_t Subminor)
634+
{
635+
(void) Major;
636+
(void) Minor;
637+
(void) Subminor;
638+
return SDL_TRUE;
639+
}
640+
#endif

0 commit comments

Comments
 (0)