ruby-changes:66213
From: Nobuyoshi <ko1@a...>
Date: Sun, 16 May 2021 18:28:05 +0900 (JST)
Subject: [ruby-changes:66213] adafa8105f (master): PAGE_SIZE is never used on msys/mingw
https://git.ruby-lang.org/ruby.git/commit/?id=adafa8105f From adafa8105f58bddc05a6ca12314890e07cbf5f5b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 16 May 2021 18:27:31 +0900 Subject: PAGE_SIZE is never used on msys/mingw --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 8b36b6c..e36282b 100644 --- a/gc.c +++ b/gc.c @@ -871,7 +871,7 @@ static const bool USE_MMAP_ALIGNED_ALLOC = true; https://github.com/ruby/ruby/blob/trunk/gc.c#L871 static bool use_mmap_aligned_alloc; # endif -#else +#elif !defined(__MINGW32__) && !defined(_WIN32) static const bool USE_MMAP_ALIGNED_ALLOC = false; #endif -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/