From a4b98042e64a172e9a595b7df9ff9a160604255a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 15 Jul 2004 08:31:31 +0000 Subject: _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. --- libc/stdlib/malloc-standard/malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') 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 -# define malloc_getpagesize sysconf(_SC_PAGE_SIZE) +# define malloc_getpagesize sysconf(_SC_PAGESIZE) #else /* just guess */ # define malloc_getpagesize (4096) #endif -- cgit v1.2.3