diff options
Diffstat (limited to 'src/c11')
-rw-r--r-- | src/c11/threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c11/threads.h b/src/c11/threads.h index 43dc243a9b8..c2818fd3012 100644 --- a/src/c11/threads.h +++ b/src/c11/threads.h @@ -116,7 +116,7 @@ typedef pthread_once_t once_flag; // FIXME: temporary non-standard hack to ease transition # define _MTX_INITIALIZER_NP PTHREAD_MUTEX_INITIALIZER # define ONCE_FLAG_INIT PTHREAD_ONCE_INIT -# ifdef INIT_ONCE_STATIC_INIT +# ifdef PTHREAD_DESTRUCTOR_ITERATIONS # define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS # else # define TSS_DTOR_ITERATIONS 1 // assume TSS dtor MAY be called at least once. |