| Index: nss/mozilla/nsprpub/pr/include/md/_pth.h
|
| ===================================================================
|
| --- nss/mozilla/nsprpub/pr/include/md/_pth.h (revision 55475)
|
| +++ nss/mozilla/nsprpub/pr/include/md/_pth.h (working copy)
|
| @@ -98,8 +98,14 @@
|
| #else
|
| #define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
|
| #endif
|
| +#if defined(ANDROID)
|
| +/* Conditional attribute init and destroy aren't implemented in bionic. */
|
| +#define _PT_PTHREAD_CONDATTR_INIT(x) 0
|
| +#define _PT_PTHREAD_CONDATTR_DESTROY(x) /* */
|
| +#else
|
| #define _PT_PTHREAD_CONDATTR_INIT pthread_condattr_init
|
| #define _PT_PTHREAD_CONDATTR_DESTROY pthread_condattr_destroy
|
| +#endif
|
| #define _PT_PTHREAD_COND_INIT(m, a) pthread_cond_init(&(m), &(a))
|
| #endif
|
|
|
|
|