From 9d7a710fc0d1a0ecea17a68675d3899aff63ae0c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 23 Dec 2020 20:15:15 +0100 Subject: [PATCH] dwrite: Avoid a compiler warning when FreeType is missing. Signed-off-by: Alexandre Julliard --- dlls/dwrite/freetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dwrite/freetype.c b/dlls/dwrite/freetype.c index 260d87b7ac6..91e44d82f2b 100644 --- a/dlls/dwrite/freetype.c +++ b/dlls/dwrite/freetype.c @@ -36,10 +36,10 @@ #include "dwrite_private.h" -WINE_DEFAULT_DEBUG_CHANNEL(dwrite); - #ifdef HAVE_FREETYPE +WINE_DEFAULT_DEBUG_CHANNEL(dwrite); + static CRITICAL_SECTION freetype_cs; static CRITICAL_SECTION_DEBUG critsect_debug = {