소스 검색

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