Commit c6e45649 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wldap32: Define a debug channel only when we are using it.

parent ce0f263a
......@@ -34,9 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#ifdef HAVE_LDAP
static LDAPMod *nullattrs[] = { NULL };
#endif
......
......@@ -26,7 +26,9 @@
#include "winldap.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
#ifndef LBER_ERROR
# define LBER_ERROR (~0U)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_bindA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_compareA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_control_freeA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_deleteA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_dn2ufnA (WLDAP32.@)
......
......@@ -34,9 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#ifdef HAVE_LDAP
static LDAPMod *nullmods[] = { NULL };
#endif
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_modrdnA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_get_optionA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_parse_extended_resultA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_rename_extA (WLDAP32.@)
......
......@@ -34,7 +34,9 @@
#include "wldap32.h"
#include "wine/debug.h"
#ifdef HAVE_LDAP
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#endif
/***********************************************************************
* ldap_searchA (WLDAP32.@)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment