summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index 16e514d..0122b7c 100644
--- a/pthread.h
+++ b/pthread.h
@@ -457,8 +457,7 @@ struct pthread_once_t_
#define PTHREAD_RWLOCK_INITIALIZER ((pthread_rwlock_t) -1)
-#define PTHREAD_SPINLOCK_INITIALIZER {1}
-
+#define PTHREAD_SPINLOCK_INITIALIZER ((pthread_spinlock_t) -1)
enum
{