aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-23 20:29:05 -0700
committerElliott Hughes <enh@google.com>2015-03-23 20:29:05 -0700
commit841e7d2c4759e30c766e00f1131be91c8dd55bff (patch)
treef1dec92248ab3a9e5ae509c6b59ad110faea177e
parenta134ff3fd16f07b4cdfc6392a754fab313cce67a (diff)
downloadndk-841e7d2c4759e30c766e00f1131be91c8dd55bff.tar.gz
Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in ndk.
Change-Id: I5b7ebaa57defe5ce706a55d7a48b2406ba5bd224
-rw-r--r--sources/android/support/src/stdio/fileext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/android/support/src/stdio/fileext.h b/sources/android/support/src/stdio/fileext.h
index b36a44866..1b737d859 100644
--- a/sources/android/support/src/stdio/fileext.h
+++ b/sources/android/support/src/stdio/fileext.h
@@ -41,7 +41,7 @@ struct __sfileext {
pthread_mutex_t _lock; /* file lock */
};
-#define _FILEEXT_INITIALIZER {{NULL,0},{0},PTHREAD_RECURSIVE_MUTEX_INITIALIZER}
+#define _FILEEXT_INITIALIZER {{NULL,0},{0},PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP}
#define _EXT(fp) ((struct __sfileext *)((fp)->_ext._base))
#define _UB(fp) _EXT(fp)->_ub