diff options
-rw-r--r-- | include/private/gc_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 6999df71..6f515d23 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -26,7 +26,8 @@ # define GC_BUILD #endif -#if (defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)) \ +#if (defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) \ + || (defined(__CYGWIN__) && !defined(USE_MMAP))) \ && !defined(_GNU_SOURCE) /* Can't test LINUX, since this must be defined before other includes. */ # define _GNU_SOURCE 1 |