Преглед изворни кода

_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