Переглянути джерело

Added required define on TCC compiler

Ray 6 роки тому
батько
коміт
010c655f79
1 змінених файлів з 3 додано та 0 видалено
  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