diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:27:02 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:27:02 +0000 |
commit | 4ace63889357f5ffc8b96a8a6144352e7ce56eec (patch) | |
tree | 21cae77af0719690b1255038635714a30e4f073d /libpthread/nptl/pthread_attr_init.c | |
parent | f5faeff83458b4dc618ca83edd2dd33dbe63c15d (diff) | |
download | uClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.bz2 uClibc-alpine-4ace63889357f5ffc8b96a8a6144352e7ce56eec.tar.xz |
Big set of various patches to get the NPTL libraries to build and link.
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; } |