diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/stdlib/malloc-standard/malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h index f3e2d2a2a..44120d388 100644 --- a/libc/stdlib/malloc-standard/malloc.h +++ b/libc/stdlib/malloc-standard/malloc.h @@ -138,7 +138,7 @@ __UCLIBC_MUTEX_EXTERN(__malloc_lock) */ #ifndef malloc_getpagesize # include <unistd.h> -# define malloc_getpagesize sysconf(_SC_PAGESIZE) +# define malloc_getpagesize getpagesize() #else /* just guess */ # define malloc_getpagesize (4096) #endif |