mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-21 11:00:56 +00:00
remove obsolete sdl2 patch
This commit is contained in:
parent
3e6cdc361c
commit
d20b5b0f8d
1 changed files with 0 additions and 16 deletions
|
@ -1,16 +0,0 @@
|
|||
--- a/src/video/cocoa/SDL_cocoawindow.m
|
||||
+++ b/src/video/cocoa/SDL_cocoawindow.m
|
||||
@@ -1813,6 +1813,13 @@
|
||||
This is no longer needed as of Mac OS X 10.15, according to bug 4822.
|
||||
*/
|
||||
NSProcessInfo *processInfo = [NSProcessInfo processInfo];
|
||||
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 101000 /* NSOperatingSystemVersion added in the 10.10 SDK */
|
||||
+ typedef struct {
|
||||
+ NSInteger majorVersion;
|
||||
+ NSInteger minorVersion;
|
||||
+ NSInteger patchVersion;
|
||||
+ } NSOperatingSystemVersion;
|
||||
+#endif
|
||||
NSOperatingSystemVersion version = { 10, 15, 0 };
|
||||
if (![processInfo respondsToSelector:@selector(isOperatingSystemAtLeastVersion:)] ||
|
||||
![processInfo isOperatingSystemAtLeastVersion:version]) {
|
Loading…
Reference in a new issue