wldap32: Define a debug channel only when we are using it.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ce0f263a02
commit
c6e45649fe
|
@ -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.@)
|
||||
|
|
Loading…
Reference in New Issue