From 69db0d607d850a844535ee1dbc71fb2110450218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 31 Jan 2009 20:12:26 +0200 Subject: [PATCH] Win32: attempt to fix VLC_STATIC_MUTEX in C++ code --- include/vlc_threads.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vlc_threads.h b/include/vlc_threads.h index c9908321cf..e7acc8d704 100644 --- a/include/vlc_threads.h +++ b/include/vlc_threads.h @@ -122,10 +122,10 @@ typedef struct typedef struct { - CRITICAL_SECTION mutex; LONG initialized; + CRITICAL_SECTION mutex; } vlc_mutex_t; -#define VLC_STATIC_MUTEX { .initialized = 0, } +#define VLC_STATIC_MUTEX { 0, } typedef HANDLE vlc_cond_t; typedef DWORD vlc_threadvar_t; -- 2.39.5