diff --git a/include/pthread.h b/include/pthread.h index a7b0b5c9b01..a94af29793a 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -183,7 +183,7 @@ struct pthread_cond_s sem_t sem; }; typedef struct pthread_cond_s pthread_cond_t; -#define PTHREAD_COND_INITIALIZER {{0, 0xffff}} +#define PTHREAD_COND_INITIALIZER {SEM_INITIALIZER(0)} struct pthread_mutexattr_s {