mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Add a note that plaform #ifdefs are misplaced
This commit is contained in:
parent
c53a164310
commit
ef3f20a064
1 changed files with 1 additions and 4 deletions
|
|
@ -43,6 +43,7 @@
|
||||||
#include "ldif.h"
|
#include "ldif.h"
|
||||||
|
|
||||||
#ifdef HAVE_WINSOCK
|
#ifdef HAVE_WINSOCK
|
||||||
|
/* should be moved to portable.h.nt */
|
||||||
#define ftruncate(a,b) _chsize(a,b)
|
#define ftruncate(a,b) _chsize(a,b)
|
||||||
#define truncate(a,b) _lclose( _lcreat(a, 0))
|
#define truncate(a,b) _lclose( _lcreat(a, 0))
|
||||||
#define S_IRGRP 0
|
#define S_IRGRP 0
|
||||||
|
|
@ -239,7 +240,6 @@ struct ri {
|
||||||
int (*ri_process) LDAP_P(( Ri * )); /* process the next repl entry */
|
int (*ri_process) LDAP_P(( Ri * )); /* process the next repl entry */
|
||||||
void (*ri_wake) LDAP_P(( Ri * )); /* wake up a sleeping thread */
|
void (*ri_wake) LDAP_P(( Ri * )); /* wake up a sleeping thread */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -248,12 +248,10 @@ struct ri {
|
||||||
* be considered private to routines in re.c, and to routines in ri.c.
|
* be considered private to routines in re.c, and to routines in ri.c.
|
||||||
*/
|
*/
|
||||||
typedef struct mi {
|
typedef struct mi {
|
||||||
|
|
||||||
/* Private data */
|
/* Private data */
|
||||||
char *mi_type; /* attr or type */
|
char *mi_type; /* attr or type */
|
||||||
char *mi_val; /* value */
|
char *mi_val; /* value */
|
||||||
int mi_len; /* length of mi_val */
|
int mi_len; /* length of mi_val */
|
||||||
|
|
||||||
} Mi;
|
} Mi;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -265,7 +263,6 @@ typedef struct mi {
|
||||||
*/
|
*/
|
||||||
typedef struct re Re;
|
typedef struct re Re;
|
||||||
struct re {
|
struct re {
|
||||||
|
|
||||||
/* Private data */
|
/* Private data */
|
||||||
ldap_pvt_thread_mutex_t
|
ldap_pvt_thread_mutex_t
|
||||||
re_mutex; /* mutex for this Re */
|
re_mutex; /* mutex for this Re */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue