diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-01-07 00:07:14 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-01-07 02:13:19 +0900 |
commit | ae51f304d28ca8ff3e0680448371c936f10490d0 (patch) | |
tree | fe6fb6099d0e49578c184e1954063e91a1f50152 /configure.ac | |
parent | 5ad507d751e63ed53f8eb0e518f72aca6588be62 (diff) |
io_buffer.c: use mremap based resizing only when mremap available
some libc implementations (e.g. wasi-libc) define MREMAP_MAYMOVE, but
don't have mremap itself, so guard the use of mremap by HAVE_MREMAP
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5401
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5a6b074f8a..b870896b5d 100644 --- a/configure.ac +++ b/configure.ac @@ -2032,6 +2032,7 @@ AC_CHECK_FUNCS(mkfifo) AC_CHECK_FUNCS(mknod) AC_CHECK_FUNCS(mktime) AC_CHECK_FUNCS(mmap) +AC_CHECK_FUNCS(mremap) AC_CHECK_FUNCS(openat) AC_CHECK_FUNCS(pipe2) AC_CHECK_FUNCS(poll) |