From c9c2cd3e6955cb1d57b8be01d4b072bf44058762 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 10 Mar 2018 17:47:14 -0500 Subject: reverse definition dependency between PAGESIZE and PAGE_SIZE PAGESIZE is actually the version defined in POSIX base, with PAGE_SIZE being in the XSI option. use PAGESIZE as the underlying definition to facilitate making exposure of PAGE_SIZE conditional. --- include/limits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/limits.h b/include/limits.h index f9805a1e..3e476093 100644 --- a/include/limits.h +++ b/include/limits.h @@ -40,8 +40,8 @@ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define PIPE_BUF 4096 -#ifdef PAGE_SIZE -#define PAGESIZE PAGE_SIZE +#ifdef PAGESIZE +#define PAGE_SIZE PAGESIZE #endif #define FILESIZEBITS 64 #define NAME_MAX 255 -- cgit v1.2.1