From 6ce7e84ecb2eed5b3056788acf791fe4ad8c0ed4 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 13 Mar 2023 01:38:28 +0100 Subject: Added static raylib for mingw --- mingw-w64-raylib-static/raylib_glfw.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mingw-w64-raylib-static/raylib_glfw.patch (limited to 'mingw-w64-raylib-static/raylib_glfw.patch') 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) -- cgit v1.1