|
|
@ -103,17 +103,23 @@ extern "C" { |
|
|
|
#undef GLFW_APIENTRY_DEFINED |
|
|
|
#undef GLFW_APIENTRY_DEFINED |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#include <windows.h> |
|
|
|
#include <windows.h> |
|
|
|
#elif defined(GLFW_EXPOSE_NATIVE_COCOA) || defined(GLFW_EXPOSE_NATIVE_NSGL) |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(GLFW_EXPOSE_NATIVE_COCOA) || defined(GLFW_EXPOSE_NATIVE_NSGL) |
|
|
|
#if defined(__OBJC__) |
|
|
|
#if defined(__OBJC__) |
|
|
|
#import <Cocoa/Cocoa.h> |
|
|
|
#import <Cocoa/Cocoa.h> |
|
|
|
#else |
|
|
|
#else |
|
|
|
#include <ApplicationServices/ApplicationServices.h> |
|
|
|
#include <ApplicationServices/ApplicationServices.h> |
|
|
|
#include <objc/objc.h> |
|
|
|
#include <objc/objc.h> |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#elif defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX) |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX) |
|
|
|
#include <X11/Xlib.h> |
|
|
|
#include <X11/Xlib.h> |
|
|
|
#include <X11/extensions/Xrandr.h> |
|
|
|
#include <X11/extensions/Xrandr.h> |
|
|
|
#elif defined(GLFW_EXPOSE_NATIVE_WAYLAND) |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(GLFW_EXPOSE_NATIVE_WAYLAND) |
|
|
|
#include <wayland-client.h> |
|
|
|
#include <wayland-client.h> |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|