mirror of
https://github.com/glfw/glfw.git
synced 2025-04-06 05:55:09 +00:00
Cocoa: Use system header to declare id type
Related to #1348
(cherry picked from commit edec334b32
)
This commit is contained in:
parent
631da8cc2f
commit
b86fcd7cd0
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue