aboutsummaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-03-10 17:47:14 -0500
committerRich Felker <dalias@aerifal.cx>2018-03-10 17:47:14 -0500
commitc9c2cd3e6955cb1d57b8be01d4b072bf44058762 (patch)
tree2e3db29bf8d6d5fd7f5aa23eb672808c4fecb831 /arch/i386
parent0cf50581ec5f04feeaa77f2eb8b734a4b69ca8ed (diff)
downloadmusl-c9c2cd3e6955cb1d57b8be01d4b072bf44058762.tar.gz
musl-c9c2cd3e6955cb1d57b8be01d4b072bf44058762.tar.xz
musl-c9c2cd3e6955cb1d57b8be01d4b072bf44058762.zip
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.
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/bits/limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/bits/limits.h b/arch/i386/bits/limits.h
index 65a3dd64..c340ceb2 100644
--- a/arch/i386/bits/limits.h
+++ b/arch/i386/bits/limits.h
@@ -1,6 +1,6 @@
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-#define PAGE_SIZE 4096
+#define PAGESIZE 4096
#define LONG_BIT 32
#endif