From 0b48190983c92ab7b92a364c6824d959a0cd511f Mon Sep 17 00:00:00 2001 From: padmadevd <128023777+padmadevd@users.noreply.github.com> Date: Sun, 16 Feb 2025 22:53:19 +0530 Subject: [PATCH] Update glfw3.h resolve build problem in cygwin toolchain --- include/GLFW/glfw3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 79b06288..d1392dd8 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -92,7 +92,7 @@ extern "C" { /* If we are we on Windows, we want a single define for it. */ -#if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__)) +#if !defined(_WIN32) && (defined(__WIN32__) || defined(WIN32) || defined(__MINGW32__) || defined(_GLFW_WIN32)) #define _WIN32 #endif /* _WIN32 */