diff options
Diffstat (limited to 'libpthread/nptl/pthread_attr_init.c')
-rw-r--r-- | libpthread/nptl/pthread_attr_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/pthread_attr_init.c b/libpthread/nptl/pthread_attr_init.c index c84b33f31..b31c08686 100644 --- a/libpthread/nptl/pthread_attr_init.c +++ b/libpthread/nptl/pthread_attr_init.c @@ -45,7 +45,11 @@ __pthread_attr_init_2_1 (attr) iattr = (struct pthread_attr *) attr; /* Default guard size specified by the standard. */ +#ifdef __UCLIBC__ + iattr->guardsize = getpagesize (); +#else iattr->guardsize = __getpagesize (); +#endif return 0; } |