diff --git a/gc.c b/gc.c index 8b36b6c2f1..e36282bd8d 100644 --- a/gc.c +++ b/gc.c @@ -871,7 +871,7 @@ static const bool USE_MMAP_ALIGNED_ALLOC = true; static bool use_mmap_aligned_alloc; # endif -#else +#elif !defined(__MINGW32__) && !defined(_WIN32) static const bool USE_MMAP_ALIGNED_ALLOC = false; #endif