Skip to content

Commit 2c9b81d

Browse files
committed
feat(utils): Fix NSEvent include?
1 parent f9219f6 commit 2c9b81d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
#include <WinUser.h> // virtual keys
88
#elif defined(GEODE_IS_MACOS)
9+
#define CommentType CommentTypeDummy
10+
#import <Cocoa/Cocoa.h>
911
#include <AppKit/NSEvent.h>
12+
#undef CommentType
1013
#endif
1114

1215
#include <Geode/cocos/cocoa/CCGeometry.h>

0 commit comments

Comments
 (0)