diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
commit | 8781f745556be5d7402d0f3adc67ecfe32fe04a0 (patch) | |
tree | 2aa8cfb446bab0283ac5ce9d8b1bb8c7bc2f3926 /nsprpub/pr/src/misc/pratom.c | |
parent | f3f9b7b06e37f870463a5f2196457cca6b10d700 (diff) | |
download | UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.gz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.lz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.xz UXP-8781f745556be5d7402d0f3adc67ecfe32fe04a0.zip |
Update NSPR to 4.18
Diffstat (limited to 'nsprpub/pr/src/misc/pratom.c')
-rw-r--r-- | nsprpub/pr/src/misc/pratom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nsprpub/pr/src/misc/pratom.c b/nsprpub/pr/src/misc/pratom.c index 95bbee1d5..65e6f3cd8 100644 --- a/nsprpub/pr/src/misc/pratom.c +++ b/nsprpub/pr/src/misc/pratom.c @@ -23,7 +23,7 @@ #if !defined(_PR_HAVE_ATOMIC_OPS) -#if defined(_PR_PTHREADS) && !defined(_PR_DCETHREADS) +#if defined(_PR_PTHREADS) /* * PR_AtomicDecrement() is used in NSPR's thread-specific data * destructor. Because thread-specific data destructors may be @@ -190,7 +190,7 @@ _PR_MD_ATOMIC_SET(PRInt32 *val, PRInt32 newval) pthread_mutex_unlock(&atomic_locks[idx]); return rv; } -#else /* _PR_PTHREADS && !_PR_DCETHREADS */ +#else /* _PR_PTHREADS */ /* * We use a single lock for all the emulated atomic operations. * The lock contention should be acceptable. @@ -259,7 +259,7 @@ _PR_MD_ATOMIC_SET(PRInt32 *val, PRInt32 newval) PR_Unlock(atomic_lock); return rv; } -#endif /* _PR_PTHREADS && !_PR_DCETHREADS */ +#endif /* _PR_PTHREADS */ #endif /* !_PR_HAVE_ATOMIC_OPS */ |