diff options
| author | Julianiolo <[email protected]> | 2022-07-23 12:33:23 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-23 12:33:23 +0200 |
| commit | 6ed1ce0082471c803127406808f2661d2d1d0ee9 (patch) | |
| tree | 3c6904855ac150f117824d93f382076db7daba9e /src/rglfw.c | |
| parent | 0abba4dc1854e71f58b252e840058178ea845e25 (diff) | |
| download | raylib-6ed1ce0082471c803127406808f2661d2d1d0ee9.tar.gz raylib-6ed1ce0082471c803127406808f2661d2d1d0ee9.zip | |
fixed build for cygwin (#2588)
Diffstat (limited to 'src/rglfw.c')
| -rw-r--r-- | src/rglfw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rglfw.c b/src/rglfw.c index 393dfe1f..cbb19ad7 100644 --- a/src/rglfw.c +++ b/src/rglfw.c @@ -37,7 +37,7 @@ // _GLFW_OSMESA to use the OSMesa API (headless and non-interactive) // _GLFW_MIR experimental, not supported at this moment -#if defined(_WIN32) +#if defined(_WIN32) || defined(__CYGWIN__) #define _GLFW_WIN32 #endif #if defined(__linux__) @@ -65,7 +65,7 @@ #include "external/glfw/src/vulkan.c" #include "external/glfw/src/window.c" -#if defined(_WIN32) +#if defined(_WIN32) || defined(__CYGWIN__) #include "external/glfw/src/win32_init.c" #include "external/glfw/src/win32_joystick.c" #include "external/glfw/src/win32_monitor.c" |
