소스 검색

_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.

Eric Andersen 20 년 전
부모
커밋
7b79cc9ecf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libpthread/linuxthreads/internals.h

+ 1 - 1
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