summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-15 08:22:48 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-15 08:22:48 +0000
commit7b79cc9ecf03a095ae169677ca77ac854b25de9c (patch)
tree1c26c9d0bf1958304b03626cd1950b45b470a3eb /libpthread/linuxthreads
parent921fde55c32eecb4087ca59b41982b7e5c4731d1 (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 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/internals.h2
1 files changed, 1 insertions, 1 deletions
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