summaryrefslogtreecommitdiff
path: root/mingw-w64-raylib-static/raylib_glfw.patch
blob: 8f3e28b7ae1b4162151f8a4e8fa38ed060dbd443 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)