From: Kurt Zeilenga Date: Wed, 9 May 2001 23:42:49 +0000 (+0000) Subject: Clean up some #ifdefs X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1424 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=24ea49810f8581e88f9fbb3e0dd729be92cc6231;p=openldap Clean up some #ifdefs --- diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 7aab3ca522..96bf1c42ba 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -52,15 +52,16 @@ LDAP_BEGIN_DECL */ #define SLAP_MOD_SOFTADD 0x1000 -#define ON 1 +#define ON (1) #define OFF (-1) -#define UNDEFINED 0 +#define UNDEFINED (0) -#define MAXREMATCHES 10 +#define MAXREMATCHES (10) #define SLAP_MAX_INCOMING (1<<18 - 1) -#define SLAP_MAX_WORKER_THREADS 32 +#define SLAP_MAX_WORKER_THREADS (32) +#define SLAP_TEXT_LEN (256) /* psuedo error code indicating abandoned operation */ #define SLAPD_ABANDON (-1)