Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
rglfw.c
Go to the documentation of this file.
1
29//#define _GLFW_BUILD_DLL // To build shared version
30// Ref: http://www.glfw.org/docs/latest/compile.html#compile_manual
31
32// Platform options:
33// _GLFW_WIN32 to use the Win32 API
34// _GLFW_X11 to use the X Window System
35// _GLFW_WAYLAND to use the Wayland API (experimental and incomplete)
36// _GLFW_COCOA to use the Cocoa frameworks
37// _GLFW_OSMESA to use the OSMesa API (headless and non-interactive)
38// _GLFW_MIR experimental, not supported at this moment
39
40#if defined(_WIN32)
41 #define _GLFW_WIN32
42#endif
43#if defined(__linux__)
44 #if !defined(_GLFW_WAYLAND) // Required for Wayland windowing
45 #define _GLFW_X11
46 #endif
47#endif
48#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
49 #define _GLFW_X11
50#endif
51#if defined(__APPLE__)
52 #define _GLFW_COCOA
53 #define _GLFW_USE_MENUBAR // To create and populate the menu bar when the first window is created
54 #define _GLFW_USE_RETINA // To have windows use the full resolution of Retina displays
55#endif
56#if defined(__TINYC__)
57 #define _WIN32_WINNT_WINXP 0x0501
58#endif
59
60// Common modules to all platforms
67
68#if defined(_WIN32)
78#endif
79
80#if defined(__linux__)
81 #if defined(_GLFW_WAYLAND)
85 #include "external/glfw/src/wayland-pointer-constraints-unstable-v1-client-protocol.c"
86 #include "external/glfw/src/wayland-relative-pointer-unstable-v1-client-protocol.c"
87 #endif
88 #if defined(_GLFW_X11)
93 #endif
94
101#endif
102
103#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__) || defined(__DragonFly__)
114#endif
115
116#if defined(__APPLE__)
126#endif