Browse Source

Added required define on TCC compiler

Ray 6 years ago
parent
commit
010c655f79
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/rglfw.c

+ 3 - 0
src/rglfw.c

@@ -45,6 +45,9 @@
     #define _GLFW_USE_MENUBAR       // To create and populate the menu bar when the first window is created
     #define _GLFW_USE_RETINA        // To have windows use the full resolution of Retina displays
 #endif
+#if defined(__TINYC__)
+    #define _WIN32_WINNT_WINXP		0x0501
+#endif
 
 // NOTE: _GLFW_MIR experimental platform not supported at this moment