From: Kurt Zeilenga Date: Mon, 19 Jun 2000 22:20:36 +0000 (+0000) Subject: Make that LDAP_NEEDS_PROTOTYPES... might as well use proper English X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2564 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b42f9ce2e9a9c21269a2858aaf96b47532b005a;p=openldap Make that LDAP_NEEDS_PROTOTYPES... might as well use proper English --- diff --git a/acconfig.h b/acconfig.h index 23d8aa4955..e7581bed8a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -78,9 +78,9 @@ # define WIN32_LEAN_AND_MEAN 1 #endif -#ifndef LDAP_NEED_PROTOTYPES +#ifndef LDAP_NEEDS_PROTOTYPES /* force LDAP_P to always include prototypes */ -#define LDAP_NEED_PROTOTYPES 1 +#define LDAP_NEEDS_PROTOTYPES 1 #endif #ifdef HAVE_STDDEF_H diff --git a/include/ldap_cdefs.h b/include/ldap_cdefs.h index 02889b8a9e..37c88b8cd0 100644 --- a/include/ldap_cdefs.h +++ b/include/ldap_cdefs.h @@ -21,7 +21,7 @@ # define LDAP_END_DECL /* end declarations */ #endif -#if !defined(LDAP_NO_PROTOTYPES) && ( defined(LDAP_NEED_PROTOTYPES) || \ +#if !defined(LDAP_NO_PROTOTYPES) && ( defined(LDAP_NEEDS_PROTOTYPES) || \ defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) ) /* ANSI C or C++ */ diff --git a/include/portable.h.in b/include/portable.h.in index af9a3511e4..7cfb384983 100644 --- a/include/portable.h.in +++ b/include/portable.h.in @@ -941,9 +941,9 @@ # define WIN32_LEAN_AND_MEAN 1 #endif -#ifndef LDAP_NEED_PROTOTYPES +#ifndef LDAP_NEEDS_PROTOTYPES /* force LDAP_P to always include prototypes */ -#define LDAP_NEED_PROTOTYPES 1 +#define LDAP_NEEDS_PROTOTYPES 1 #endif #ifdef HAVE_STDDEF_H diff --git a/include/portable.nt b/include/portable.nt index a216f877ea..8e478479da 100644 --- a/include/portable.nt +++ b/include/portable.nt @@ -725,9 +725,9 @@ typedef signed int ssize_t; /* begin of postamble */ -#ifndef LDAP_NEED_PROTOTYPES +#ifndef LDAP_NEEDS_PROTOTYPES /* force LDAP_P to always include prototypes */ -#define LDAP_NEED_PROTOTYPES 1 +#define LDAP_NEEDS_PROTOTYPES 1 #endif #ifdef HAVE_STDDEF_H