mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
Eliminate #ifdef DOS
This commit is contained in:
parent
5c2334c8a4
commit
3206b1b794
2 changed files with 0 additions and 8 deletions
|
|
@ -675,11 +675,7 @@ void initialize_client()
|
|||
}
|
||||
|
||||
/* enabled local caching of ldap results, 15 minute lifetime */
|
||||
#ifdef DOS
|
||||
ldap_enable_cache( ld, 60 * 15, 100 * 1024 ); /* 100k max memory */
|
||||
#else /* DOS */
|
||||
ldap_enable_cache( ld, 60 * 15, 0 ); /* no memory limit */
|
||||
#endif /* DOS */
|
||||
|
||||
/* initialize the search filters */
|
||||
if ((lfdp = ldap_init_getfilter(filter_file)) == NULL) {
|
||||
|
|
|
|||
|
|
@ -10,11 +10,7 @@
|
|||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifdef DOS
|
||||
#define MAX_VALUES 8
|
||||
#else
|
||||
#define MAX_VALUES 1000
|
||||
#endif /* !DOS */
|
||||
|
||||
/*****************************************************************************
|
||||
**
|
||||
|
|
|
|||
Loading…
Reference in a new issue