Cocoa: Use system header to declare id type

Related to #1348

(cherry picked from commit edec334b32)
This commit is contained in:
Camilla Löwy 2022-06-02 21:25:15 +02:00
parent 631da8cc2f
commit b86fcd7cd0

View File

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