secur32: Declare debug channels only when needed (Clang).

This commit is contained in:
André Hentschel 2014-12-03 23:54:33 +01:00 committed by Alexandre Julliard
parent 7b318b1700
commit b8719ff852
2 changed files with 4 additions and 4 deletions

View File

@ -36,10 +36,10 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/library.h" #include "wine/library.h"
WINE_DEFAULT_DEBUG_CHANNEL(secur32);
#if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H) #if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H)
WINE_DEFAULT_DEBUG_CHANNEL(secur32);
static void *libgnutls_handle; static void *libgnutls_handle;
#define MAKE_FUNCPTR(f) static typeof(f) * p##f #define MAKE_FUNCPTR(f) static typeof(f) * p##f
MAKE_FUNCPTR(gnutls_alert_get); MAKE_FUNCPTR(gnutls_alert_get);

View File

@ -41,10 +41,10 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/library.h" #include "wine/library.h"
WINE_DEFAULT_DEBUG_CHANNEL(secur32);
#ifdef HAVE_SECURITY_SECURITY_H #ifdef HAVE_SECURITY_SECURITY_H
WINE_DEFAULT_DEBUG_CHANNEL(secur32);
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060 #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
/* Defined in <Security/CipherSuite.h> in the 10.6 SDK or later. */ /* Defined in <Security/CipherSuite.h> in the 10.6 SDK or later. */
enum { enum {