diff --git a/src/c11/threads.h b/src/c11/threads.h index 59baea11281..dbcb3459a9b 100644 --- a/src/c11/threads.h +++ b/src/c11/threads.h @@ -49,16 +49,6 @@ #if defined(HAVE_THRD_CREATE) #include - -#if defined(ANDROID) -/* Currently, only Android are verified that it's thrd_t are typedef of pthread_t - * So we can define _MTX_INITIALIZER_NP to PTHREAD_MUTEX_INITIALIZER - * FIXME: temporary non-standard hack to ease transition - */ -# define _MTX_INITIALIZER_NP PTHREAD_MUTEX_INITIALIZER -#else -#error Can not define _MTX_INITIALIZER_NP properly for this platform -#endif #else /*---------------------------- macros ---------------------------*/ @@ -129,8 +119,6 @@ typedef pthread_t thrd_t; typedef pthread_key_t tss_t; typedef pthread_mutex_t mtx_t; 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 PTHREAD_DESTRUCTOR_ITERATIONS # define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS