OSDN Git Service

Use #import (to be more idiomatic with Objective C) rather than #include for cocoa...
authorEric Branlund <ebranlund@fastmail.com>
Fri, 28 Feb 2020 20:36:11 +0000 (12:36 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Fri, 28 Feb 2020 20:36:11 +0000 (12:36 -0800)
src/main-cocoa.m

index 7390782..c65d721 100644 (file)
@@ -23,7 +23,7 @@
 #if defined(MACH_O_COCOA)
 
 /* Mac headers */
-#include <cocoa/AppDelegate.h>
+#import "cocoa/AppDelegate.h"
 //#include <Carbon/Carbon.h> /* For keycodes */
 /* Hack - keycodes to enable compiling in macOS 10.14 */
 #define kVK_Return 0x24