فهرست منبع

_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