Add check for cygwin in globaldefs.h

This commit is contained in:
Marco Cawthorne 2021-01-16 22:05:50 +01:00
parent 6e06c8c301
commit 2f8e66a240

View file

@ -31,7 +31,7 @@
#define GDEF_OS_POSIX 0
#endif
#if defined(WIN32) || defined(_WIN32) || defined(_WIN64)
#if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
#define GDEF_OS_WINDOWS 1
#else
#define GDEF_OS_WINDOWS 0