Commit f48500bb authored by Alexandre Julliard's avatar Alexandre Julliard

ldap: Use LONG instead of long for exported types.

parent df50fca0
......@@ -21,6 +21,7 @@
#ifndef _LBER_TYPES_H
#define _LBER_TYPES_H
#include <windef.h>
#include <ldap_cdefs.h>
LDAP_BEGIN_DECL
......@@ -29,13 +30,13 @@ LDAP_BEGIN_DECL
#define LBER_INT_T int
/* LBER tags (32 bits or larger) */
#define LBER_TAG_T long
#undef LBER_TAG_T
/* LBER socket descriptor */
#define LBER_SOCKET_T int
/* LBER lengths (32 bits or larger) */
#define LBER_LEN_T long
#undef LBER_LEN_T
/* ------------------------------------------------------------ */
......@@ -47,16 +48,16 @@ typedef signed LBER_INT_T ber_sint_t;
typedef unsigned LBER_INT_T ber_uint_t;
/* tags */
typedef unsigned LBER_TAG_T ber_tag_t;
typedef ULONG ber_tag_t;
/* "socket" descriptors */
typedef LBER_SOCKET_T ber_socket_t;
/* lengths */
typedef unsigned LBER_LEN_T ber_len_t;
typedef ULONG ber_len_t;
/* signed lengths */
typedef signed LBER_LEN_T ber_slen_t;
typedef LONG ber_slen_t;
LDAP_END_DECL
......
......@@ -813,13 +813,13 @@
#define LBER_INT_T int
/* define to large integer type */
#define LBER_LEN_T long
/* #undef LBER_LEN_T */
/* define to socket descriptor type */
#define LBER_SOCKET_T int
/* define to large integer type */
#define LBER_TAG_T long
/* #undef LBER_TAG_T */
/* define to 1 if library is reentrant */
#define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1
......
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