summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
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