diff options
author | Bruno Haible <bruno@clisp.org> | 2020-11-27 20:56:19 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-11-27 20:56:19 +0100 |
commit | 3c961e4397119ef7a8aeee2131e1af77a1449ce4 (patch) | |
tree | 49f7215240dafcb244914361b21e28ab7e9f0060 | |
parent | 90e79512d8b385801218d6e9c4d88ff77186560b (diff) | |
download | gnulib-3c961e4397119ef7a8aeee2131e1af77a1449ce4.tar.gz gnulib-3c961e4397119ef7a8aeee2131e1af77a1449ce4.tar.bz2 |
ssfmalloc tests: Port to macOS 11.
* tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/test-ssfmalloc.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2020-11-27 Bruno Haible <bruno@clisp.org> + + ssfmalloc tests: Port to macOS 11. + * tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192. + 2020-11-26 Bruno Haible <bruno@clisp.org> Fix dependencies of modules that use '_exit' on native Windows. diff --git a/tests/test-ssfmalloc.c b/tests/test-ssfmalloc.c index 86fa42bf84..397fa98ac1 100644 --- a/tests/test-ssfmalloc.c +++ b/tests/test-ssfmalloc.c @@ -124,12 +124,12 @@ free_pages (uintptr_t pages, size_t size) /* ======================= Instantiate the front end ======================= */ #define PAGESIZE pagesize -/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On all other platforms, it - is either 4096 or 8192. */ +/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On macOS 11, it is 16384. + On all other platforms, it is either 4096 or 8192. */ #if defined __CYGWIN__ || (defined __linux__ && defined __powerpc__) # define PAGESIZE_MAX 65536 #else -# define PAGESIZE_MAX 8192 +# define PAGESIZE_MAX 16384 #endif #define ALLOC_PAGES alloc_pages |