From 4ad3fd3f2805e077f36ecc71971c14f266e01343 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 11 Dec 2021 14:40:20 -0500
Subject: [PATCH] macos: Patched to compile.
Reference issue #106.
---
src/SDLmain/macosx/SDLMain.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/SDLmain/macosx/SDLMain.h b/src/SDLmain/macosx/SDLMain.h
index 3dfee70..4acb2ad 100644
--- a/src/SDLmain/macosx/SDLMain.h
+++ b/src/SDLmain/macosx/SDLMain.h
@@ -19,13 +19,13 @@
/* Use this flag to determine whether we use CPS (docking) or not */
#define SDL_USE_CPS 1
-@interface SDLMain : NSApplicationDelegate
+@interface SDLMain : NSObject<NSApplicationDelegate>
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication *)sender;
- (void) setupWorkingDirectory:(BOOL)shouldChdir;
-- (BOOL) application:(NSApplication *)theApplication openFile:(NSString *)filename
-- (void) applicationDidFinishLaunching: (NSNotification *) note
+- (BOOL) application:(NSApplication *)theApplication openFile:(NSString *)filename;
+- (void) applicationDidFinishLaunching: (NSNotification *) note;
#if SDL_USE_NIB_FILE
-- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName
+- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName;
#endif
@end