Use HAVE_LDAP_H when checking if ldap.h is available.
This commit is contained in:
parent
98520ef499
commit
bea21461ec
|
@ -29,7 +29,7 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
|
||||||
#ifdef HAVE_LDAP
|
#ifdef HAVE_LDAP_H
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#else
|
#else
|
||||||
#define LDAP_SUCCESS 0x00
|
#define LDAP_SUCCESS 0x00
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
|
||||||
#ifdef HAVE_LDAP
|
#ifdef HAVE_LDAP_H
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#else
|
#else
|
||||||
#define LDAP_SUCCESS 0x00
|
#define LDAP_SUCCESS 0x00
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
|
||||||
#ifdef HAVE_LDAP
|
#ifdef HAVE_LDAP_H
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#else
|
#else
|
||||||
#define LDAP_SUCCESS 0x00
|
#define LDAP_SUCCESS 0x00
|
||||||
|
|
Loading…
Reference in New Issue