diff options
author | Aki <please@ignore.pl> | 2023-03-13 01:38:28 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-03-13 01:38:28 +0100 |
commit | 6ce7e84ecb2eed5b3056788acf791fe4ad8c0ed4 (patch) | |
tree | 30a65e8109fb6c3db80499383afdd842207ec41b /mingw-w64-raylib-static/raylib_glfw.patch | |
parent | f4a82177f3bea3e744cbc4acbd052fc7be31cab1 (diff) | |
download | arch-ignore-6ce7e84ecb2eed5b3056788acf791fe4ad8c0ed4.zip arch-ignore-6ce7e84ecb2eed5b3056788acf791fe4ad8c0ed4.tar.gz arch-ignore-6ce7e84ecb2eed5b3056788acf791fe4ad8c0ed4.tar.bz2 |
Added static raylib for mingw
Diffstat (limited to 'mingw-w64-raylib-static/raylib_glfw.patch')
-rw-r--r-- | mingw-w64-raylib-static/raylib_glfw.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mingw-w64-raylib-static/raylib_glfw.patch b/mingw-w64-raylib-static/raylib_glfw.patch new file mode 100644 index 0000000..8f3e28b --- /dev/null +++ b/mingw-w64-raylib-static/raylib_glfw.patch @@ -0,0 +1,12 @@ +Fixes issues with name conflicts building with external glfw +--- a/src/rcore.c ++++ b/src/rcore.c +@@ -214,7 +214,7 @@ + + // Support retrieving native window handlers + #if defined(_WIN32) +- #define GLFW_EXPOSE_NATIVE_WIN32 ++// #define GLFW_EXPOSE_NATIVE_WIN32 + #include "GLFW/glfw3native.h" // WARNING: It requires customization to avoid windows.h inclusion! + + #if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP) |