mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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:
parent
37d79e38e9
commit
d61ac94658
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue