From d61ac94658499bbea3fbff4fb087e766a648a35e Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 6 Sep 2022 23:06:43 +0800 Subject: [PATCH] c11: Remove _MTX_INITIALIZER_NP for windows Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Acked-by: David Heidelberg Part-of: --- src/c11/threads.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/c11/threads.h b/src/c11/threads.h index 598948bf1cc..59baea11281 100644 --- a/src/c11/threads.h +++ b/src/c11/threads.h @@ -121,8 +121,6 @@ typedef struct { volatile uintptr_t status; } once_flag; -// FIXME: temporary non-standard hack to ease transition -# define _MTX_INITIALIZER_NP {(void*)-1, -1, 0, 0, 0, 0} # define ONCE_FLAG_INIT {0} # define TSS_DTOR_ITERATIONS 1 #elif defined(HAVE_PTHREAD)