From 010c655f795ca1305f787b134a5cc92d8ef47056 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 8 Jan 2019 10:10:20 +0100 Subject: [PATCH] Added required define on TCC compiler --- src/rglfw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rglfw.c b/src/rglfw.c index 154eb4ff..853c5200 100644 --- a/src/rglfw.c +++ b/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