From: Kurt Zeilenga Date: Tue, 30 May 2000 21:36:27 +0000 (+0000) Subject: Move -DSLAPD_SCHEMA_COMPAT to acconfig.h... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2794 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a584fe9dc0539079de682bbb5d2cb0c9aa449e11;p=openldap Move -DSLAPD_SCHEMA_COMPAT to acconfig.h... --- diff --git a/acconfig.h b/acconfig.h index 4a2156c3cf..5af06e90a5 100644 --- a/acconfig.h +++ b/acconfig.h @@ -13,6 +13,11 @@ /* end of preamble */ +#if !defined(SLAPD_SCHEMA_COMPAT) && !defined(SLAPD_SCHEMA_NOT_COMPAT) + /* define SLAPD_SCHEMA_COMPAT if you want old schema codes */ +#define SLAPD_SCHEMA_NOT_COMPAT 1 +#endif + @TOP@ /* define this if needed to get reentrant functions */ diff --git a/include/portable.h.in b/include/portable.h.in index fdf8b90b1b..335d22b90a 100644 --- a/include/portable.h.in +++ b/include/portable.h.in @@ -14,6 +14,11 @@ /* end of preamble */ +#if !defined(SLAPD_SCHEMA_COMPAT) && !defined(SLAPD_SCHEMA_NOT_COMPAT) + /* define SLAPD_SCHEMA_COMPAT if you want old schema codes */ +#define SLAPD_SCHEMA_NOT_COMPAT 1 +#endif + /* Define if on AIX 3. System headers sometimes define this.