summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-8/arch-arm/usr/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to '9/platforms/android-8/arch-arm/usr/include/pthread.h')
-rw-r--r--9/platforms/android-8/arch-arm/usr/include/pthread.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/9/platforms/android-8/arch-arm/usr/include/pthread.h b/9/platforms/android-8/arch-arm/usr/include/pthread.h
index 7de3634..ea51cf4 100644
--- a/9/platforms/android-8/arch-arm/usr/include/pthread.h
+++ b/9/platforms/android-8/arch-arm/usr/include/pthread.h
@@ -42,9 +42,13 @@ typedef struct
int volatile value;
} pthread_mutex_t;
-#define PTHREAD_MUTEX_INITIALIZER {0}
-#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER {0x4000}
-#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER {0x8000}
+#define __PTHREAD_MUTEX_INIT_VALUE 0
+#define __PTHREAD_RECURSIVE_MUTEX_INIT_VALUE 0x4000
+#define __PTHREAD_ERRORCHECK_MUTEX_INIT_VALUE 0x8000
+
+#define PTHREAD_MUTEX_INITIALIZER {__PTHREAD_MUTEX_INIT_VALUE}
+#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER {__PTHREAD_RECURSIVE_MUTEX_INIT_VALUE}
+#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER {__PTHREAD_ERRORCHECK_MUTEX_INIT_VALUE}
enum {
PTHREAD_MUTEX_NORMAL = 0,