From b8719ff85228d8fc903955db9f00122f760270bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 3 Dec 2014 23:54:33 +0100 Subject: [PATCH] secur32: Declare debug channels only when needed (Clang). --- dlls/secur32/schannel_gnutls.c | 4 ++-- dlls/secur32/schannel_macosx.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 1b1954402e..638b3c5c55 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -36,10 +36,10 @@ #include "wine/debug.h" #include "wine/library.h" -WINE_DEFAULT_DEBUG_CHANNEL(secur32); - #if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H) +WINE_DEFAULT_DEBUG_CHANNEL(secur32); + static void *libgnutls_handle; #define MAKE_FUNCPTR(f) static typeof(f) * p##f MAKE_FUNCPTR(gnutls_alert_get); diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c index 7a29c7bafe..cfd23715f4 100644 --- a/dlls/secur32/schannel_macosx.c +++ b/dlls/secur32/schannel_macosx.c @@ -41,10 +41,10 @@ #include "wine/debug.h" #include "wine/library.h" -WINE_DEFAULT_DEBUG_CHANNEL(secur32); - #ifdef HAVE_SECURITY_SECURITY_H +WINE_DEFAULT_DEBUG_CHANNEL(secur32); + #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060 /* Defined in in the 10.6 SDK or later. */ enum {