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 "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
|
||||||
#ifdef HAVE_LDAP
|
|
||||||
static LDAPMod *nullattrs[] = { NULL };
|
static LDAPMod *nullattrs[] = { NULL };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,9 @@
|
||||||
#include "winldap.h"
|
#include "winldap.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LBER_ERROR
|
#ifndef LBER_ERROR
|
||||||
# define LBER_ERROR (~0U)
|
# define LBER_ERROR (~0U)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_bindA (WLDAP32.@)
|
* ldap_bindA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_compareA (WLDAP32.@)
|
* ldap_compareA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_control_freeA (WLDAP32.@)
|
* ldap_control_freeA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_deleteA (WLDAP32.@)
|
* ldap_deleteA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_dn2ufnA (WLDAP32.@)
|
* ldap_dn2ufnA (WLDAP32.@)
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
|
||||||
#ifdef HAVE_LDAP
|
|
||||||
static LDAPMod *nullmods[] = { NULL };
|
static LDAPMod *nullmods[] = { NULL };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_modrdnA (WLDAP32.@)
|
* ldap_modrdnA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_get_optionA (WLDAP32.@)
|
* ldap_get_optionA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_parse_extended_resultA (WLDAP32.@)
|
* ldap_parse_extended_resultA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_rename_extA (WLDAP32.@)
|
* ldap_rename_extA (WLDAP32.@)
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LDAP
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
#endif
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ldap_searchA (WLDAP32.@)
|
* ldap_searchA (WLDAP32.@)
|
||||||
|
|
Loading…
Reference in New Issue