1 #include <unistd.h>	/* For __getpagesize.  */
2 #define NEW_VERNUM GLIBC_2_6
3 #define STACKSIZE_ADJUST \
4   do {									      \
5     size_t ps = __getpagesize ();					      \
6     if (stacksize < 2 * ps)						      \
7       stacksize = 2 * ps;						      \
8   } while (0)
9 #include <nptl/pthread_attr_setstacksize.c>
10