mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 14:21:57 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user