summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-16 18:27:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-16 18:27:47 +0900
commitadafa8105f58bddc05a6ca12314890e07cbf5f5b (patch)
treecd8d0f5f79ae4c7a8e35e2477f2ae0bfc7fd4886
parentde6e76ff25d9dd33a13f06111514bcac869f4830 (diff)
PAGE_SIZE is never used on msys/mingw
-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