From: Randy Kunkee Date: Wed, 19 Jul 2000 10:04:09 +0000 (+0000) Subject: Move indented #defines to lh-column -- OSF4.0e does not allow the '#' to X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2410 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1228f6defc8ca493a9e878e95b01d021749ff653;p=openldap Move indented #defines to lh-column -- OSF4.0e does not allow the '#' to be indented. Use "#define" instead. --- diff --git a/servers/slapd/sets.c b/servers/slapd/sets.c index 0fdec47ee2..be0a60263e 100644 --- a/servers/slapd/sets.c +++ b/servers/slapd/sets.c @@ -197,12 +197,12 @@ set_samedn (char *dn1, char *dn2) int set_filter (SET_GATHER gatherer, void *cookie, char *filter, char *user, char *this, char ***results) { - #define IS_SET(x) ( (long)(x) >= 256 ) - #define IS_OP(x) ( (long)(x) < 256 ) - #define SF_ERROR(x) { rc = -1; goto _error; } - #define SF_TOP() (char **)( (stp < 0) ? 0 : stack[stp] ) - #define SF_POP() (char **)( (stp < 0) ? 0 : stack[stp--] ) - #define SF_PUSH(x) { if (stp >= 63) SF_ERROR(overflow); stack[++stp] = (char **)(long)(x); } +# define IS_SET(x) ( (long)(x) >= 256 ) +# define IS_OP(x) ( (long)(x) < 256 ) +# define SF_ERROR(x) { rc = -1; goto _error; } +# define SF_TOP() (char **)( (stp < 0) ? 0 : stack[stp] ) +# define SF_POP() (char **)( (stp < 0) ? 0 : stack[stp--] ) +# define SF_PUSH(x) { if (stp >= 63) SF_ERROR(overflow); stack[++stp] = (char **)(long)(x); } char c; char **set, **lset; int len, op, rc, stp;