c11: Remove _MTX_INITIALIZER_NP for windows

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18493>
This commit is contained in:
Yonggang Luo
2022-09-06 23:06:43 +08:00
committed by Marge Bot
parent 37d79e38e9
commit d61ac94658

View File

@@ -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)