From 9988e2d685ec0e95093e0a306c2009e312e683d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
Date: Fri, 21 Nov 2014 21:30:12 +0100
Subject: [PATCH] winedbg: Declare debug channel only when needed in be_x86_64
 (Clang).

---
 programs/winedbg/be_x86_64.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c
index 86280257d67..029f9f1954f 100644
--- a/programs/winedbg/be_x86_64.c
+++ b/programs/winedbg/be_x86_64.c
@@ -22,10 +22,10 @@
 #include "debugger.h"
 #include "wine/debug.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(winedbg);
-
 #if defined(__x86_64__)
 
+WINE_DEFAULT_DEBUG_CHANNEL(winedbg);
+
 #define STEP_FLAG 0x00000100 /* single step flag */
 
 static BOOL be_x86_64_get_addr(HANDLE hThread, const CONTEXT* ctx,
-- 
GitLab