summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/malloc.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-15 08:31:31 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-15 08:31:31 +0000
commita4b98042e64a172e9a595b7df9ff9a160604255a (patch)
tree8f517826f08998671dc3086ca8d98ce2ea1ace07 /libc/stdlib/malloc-standard/malloc.h
parent7b79cc9ecf03a095ae169677ca77ac854b25de9c (diff)
_SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE
instead, but we are not such a system and should not propagate such things.
Diffstat (limited to 'libc/stdlib/malloc-standard/malloc.h')
-rw-r--r--libc/stdlib/malloc-standard/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h
index 0b8bbef31..174dc01bd 100644
--- a/libc/stdlib/malloc-standard/malloc.h
+++ b/libc/stdlib/malloc-standard/malloc.h
@@ -136,7 +136,7 @@ extern pthread_mutex_t __malloc_lock;
*/
#ifndef malloc_getpagesize
# include <unistd.h>
-# define malloc_getpagesize sysconf(_SC_PAGE_SIZE)
+# define malloc_getpagesize sysconf(_SC_PAGESIZE)
#else /* just guess */
# define malloc_getpagesize (4096)
#endif