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 */