Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f48500bb
Commit
f48500bb
authored
Dec 08, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ldap: Use LONG instead of long for exported types.
parent
df50fca0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
lber_types.h
libs/ldap/include/lber_types.h
+6
-5
portable.h
libs/ldap/include/portable.h
+2
-2
No files found.
libs/ldap/include/lber_types.h
View file @
f48500bb
...
...
@@ -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
...
...
libs/ldap/include/portable.h
View file @
f48500bb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment