mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Avoid multiple gl.h inclusions
Expose native Cocoa Window again...
This commit is contained in:
5
src/external/glfw/include/GLFW/glfw3native.h
vendored
5
src/external/glfw/include/GLFW/glfw3native.h
vendored
@ -101,7 +101,10 @@ extern "C" {
|
||||
#if defined(__OBJC__)
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
typedef void* id;
|
||||
// RAY: Added protection in case OBJC types defined
|
||||
#if !defined(OBJC_TYPES_DEFINED)
|
||||
typedef void* id;
|
||||
#endif
|
||||
#endif
|
||||
#elif defined(GLFW_EXPOSE_NATIVE_X11)
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
Reference in New Issue
Block a user