浏览代码

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