#define X264_PTHREAD_MUTEX_INITIALIZER {0}
#define x264_pthread_mutexattr_t int
-/* This is the CONDITIONAL_VARIABLE typedef for using Window's native conditional variables on kernels 6.0+.
- * MinGW does not currently have this typedef. */
+#if HAVE_WINRT
+typedef CONDITION_VARIABLE x264_pthread_cond_t;
+#else
typedef struct
{
- void *ptr;
+ void *Ptr;
} x264_pthread_cond_t;
+#endif
#define x264_pthread_condattr_t int
int x264_pthread_create( x264_pthread_t *thread, const x264_pthread_attr_t *attr,