mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 08:14:57 +00:00
Update glfw3.h
resolve build problem in cygwin toolchain
This commit is contained in:
parent
e7ea71be03
commit
0b48190983
@ -92,7 +92,7 @@ extern "C" {
|
|||||||
|
|
||||||
/* If we are we on Windows, we want a single define for it.
|
/* 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
|
#define _WIN32
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user