wldap32: Build with msvcrt.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aa9f3e6e96
commit
e5f1c0f7fc
|
@ -4,6 +4,8 @@ IMPORTS = user32
|
||||||
EXTRAINCL = $(LDAP_CFLAGS)
|
EXTRAINCL = $(LDAP_CFLAGS)
|
||||||
EXTRALIBS = $(LDAP_LIBS)
|
EXTRALIBS = $(LDAP_LIBS)
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
add.c \
|
add.c \
|
||||||
ber.c \
|
ber.c \
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
/* compatible with structures defined in ldap.h */
|
/* compatible with structures defined in ldap.h */
|
||||||
typedef struct bervalU
|
typedef struct bervalU
|
||||||
{
|
{
|
||||||
unsigned long bv_len;
|
ULONG_PTR bv_len;
|
||||||
char *bv_val;
|
char *bv_val;
|
||||||
} BerValueU;
|
} BerValueU;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -79,8 +79,8 @@ typedef struct
|
||||||
|
|
||||||
typedef struct timevalU
|
typedef struct timevalU
|
||||||
{
|
{
|
||||||
unsigned long tv_sec;
|
LONG_PTR tv_sec;
|
||||||
unsigned long tv_usec;
|
LONG_PTR tv_usec;
|
||||||
} LDAP_TIMEVALU;
|
} LDAP_TIMEVALU;
|
||||||
|
|
||||||
#ifndef SASL_CB_LIST_END
|
#ifndef SASL_CB_LIST_END
|
||||||
|
@ -92,7 +92,7 @@ typedef struct timevalU
|
||||||
|
|
||||||
typedef struct sasl_interactU
|
typedef struct sasl_interactU
|
||||||
{
|
{
|
||||||
unsigned long id;
|
ULONG_PTR id;
|
||||||
const char *challenge;
|
const char *challenge;
|
||||||
const char *prompt;
|
const char *prompt;
|
||||||
const char *defresult;
|
const char *defresult;
|
||||||
|
|
|
@ -245,7 +245,7 @@ ULONG CDECL ldap_parse_page_controlW( WLDAP32_LDAP *ld, LDAPControlW **ctrls, UL
|
||||||
|
|
||||||
for (i = 0; ctrls[i]; i++)
|
for (i = 0; ctrls[i]; i++)
|
||||||
{
|
{
|
||||||
if (!lstrcmpW( LDAP_PAGED_RESULT_OID_STRING_W, ctrls[i]->ldctl_oid ))
|
if (!wcscmp( LDAP_PAGED_RESULT_OID_STRING_W, ctrls[i]->ldctl_oid ))
|
||||||
control = ctrls[i];
|
control = ctrls[i];
|
||||||
}
|
}
|
||||||
if (!control) return WLDAP32_LDAP_CONTROL_NOT_FOUND;
|
if (!control) return WLDAP32_LDAP_CONTROL_NOT_FOUND;
|
||||||
|
|
Loading…
Reference in New Issue