From 7b79cc9ecf03a095ae169677ca77ac854b25de9c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 15 Jul 2004 08:22:48 +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. --- libpthread/linuxthreads/internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads/internals.h b/libpthread/linuxthreads/internals.h index bd362642b..d4a9b85ba 100644 --- a/libpthread/linuxthreads/internals.h +++ b/libpthread/linuxthreads/internals.h @@ -317,7 +317,7 @@ static inline int invalid_handle(pthread_handle h, pthread_t id) /* The page size we can get from the system. This should likely not be changed by the machine file but, you never know. */ #ifndef PAGE_SIZE -#define PAGE_SIZE (sysconf (_SC_PAGE_SIZE)) +#define PAGE_SIZE (sysconf (_SC_PAGESIZE)) #endif /* The max size of the thread stack segments. If the default -- cgit v1.2.3