aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-26 17:10:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-26 17:10:13 +0000
commit5d3c6bf81ff44e6543ba93fc30a668c3572ed682 (patch)
treee5fdf25c747503ceb89bfe5c53bb51409178090f
parent6575ae07c2845ac434a7869818e592026f7a3c3a (diff)
parent39082e53b47c55155fb0e8ae2d79f03b27755149 (diff)
downloadndk-5d3c6bf81ff44e6543ba93fc30a668c3572ed682.tar.gz
Merge "Revert "Remove use of PTHREAD_RECURSIVE_MUTEX_INITIALIZER.""
-rw-r--r--sources/cxx-stl/gabi++/src/one_time_construction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/cxx-stl/gabi++/src/one_time_construction.cc b/sources/cxx-stl/gabi++/src/one_time_construction.cc
index 26f2c8d57..c0b54be7c 100644
--- a/sources/cxx-stl/gabi++/src/one_time_construction.cc
+++ b/sources/cxx-stl/gabi++/src/one_time_construction.cc
@@ -52,7 +52,7 @@
*
* Cons: Slower than necessary.
*/
-static pthread_mutex_t sMutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+static pthread_mutex_t sMutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
static pthread_cond_t sCond = PTHREAD_COND_INITIALIZER;