Update glfw3.h

resolve build problem in cygwin toolchain
This commit is contained in:
padmadevd 2025-02-16 22:53:19 +05:30 committed by GitHub
parent e7ea71be03
commit 0b48190983
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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