Index: third_party/harfbuzz-ng/src/hb-mutex-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-mutex-private.hh b/third_party/harfbuzz-ng/src/hb-mutex-private.hh |
index 0fb21c2e86e8bb27fa58c29f32b2844691098e23..6281201958522f1cbf963c023172cd88a0f94dd4 100644 |
--- a/third_party/harfbuzz-ng/src/hb-mutex-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-mutex-private.hh |
@@ -44,10 +44,9 @@ |
#elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__)) |
-#define WIN32_LEAN_AND_MEAN |
#include <windows.h> |
typedef CRITICAL_SECTION hb_mutex_impl_t; |
-#define HB_MUTEX_IMPL_INIT { NULL, 0, 0, NULL, NULL, 0 } |
+#define HB_MUTEX_IMPL_INIT {0} |
#define hb_mutex_impl_init(M) InitializeCriticalSection (M) |
#define hb_mutex_impl_lock(M) EnterCriticalSection (M) |
#define hb_mutex_impl_unlock(M) LeaveCriticalSection (M) |