Add a note that plaform #ifdefs are misplaced

This commit is contained in:
Kurt Zeilenga 2003-10-12 22:00:17 +00:00
parent c53a164310
commit ef3f20a064

View file

@ -43,6 +43,7 @@
#include "ldif.h"
#ifdef HAVE_WINSOCK
/* should be moved to portable.h.nt */
#define ftruncate(a,b) _chsize(a,b)
#define truncate(a,b) _lclose( _lcreat(a, 0))
#define S_IRGRP 0
@ -242,18 +243,15 @@ struct ri {
/*
* Information about one particular modification to make. This data should
* be considered private to routines in re.c, and to routines in ri.c.
*/
typedef struct mi {
/* Private data */
char *mi_type; /* attr or type */
char *mi_val; /* value */
int mi_len; /* length of mi_val */
} Mi;
@ -265,7 +263,6 @@ typedef struct mi {
*/
typedef struct re Re;
struct re {
/* Private data */
ldap_pvt_thread_mutex_t
re_mutex; /* mutex for this Re */