Cocoa: Use system header to declare id type

Related to #1348
This commit is contained in:
Camilla Löwy 2022-06-02 21:25:15 +02:00
parent 26920a1a38
commit edec334b32

View File

@ -96,7 +96,7 @@ extern "C" {
#import <Cocoa/Cocoa.h>
#else
#include <ApplicationServices/ApplicationServices.h>
typedef void* id;
#include <objc/objc.h>
#endif
#elif defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX)
#include <X11/Xlib.h>