mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Use #elif defined(...) for HAVE_WINSOCK and MACOS. All other instances of these macros use #ifdef or similar. A compiler may warn about them not being defined. In libraries/liblber/sockbuf.c, (DOS && PCNFS) and (DOS && NCSA) were replaced with HAVE_PCNFS and HAVE_NCSA, respectively. It seems logical to do the same at the only remaining occurrence of DOS, PCNFS, and NCSA. Use #if HARDCODE_DATA consistently, replacing two instances of #ifdef. HARDCODE_DATA is always defined, and this way you can set HARDCODE_DATA to 0 and have it work, rather than it going down the wrong branch and failing in these two cases. |
||
|---|---|---|
| .. | ||
| ac | ||
| getopt-compat.h | ||
| lber.h | ||
| lber_pvt.h | ||
| lber_types.hin | ||
| ldap.h | ||
| ldap_avl.h | ||
| ldap_cdefs.h | ||
| ldap_config.hin | ||
| ldap_defaults.h | ||
| ldap_features.hin | ||
| ldap_int_thread.h | ||
| ldap_log.h | ||
| ldap_pvt.h | ||
| ldap_pvt_thread.h | ||
| ldap_pvt_uc.h | ||
| ldap_queue.h | ||
| ldap_rq.h | ||
| ldap_schema.h | ||
| ldap_utf8.h | ||
| ldif.h | ||
| lutil.h | ||
| lutil_hash.h | ||
| lutil_ldap.h | ||
| lutil_lockf.h | ||
| lutil_md5.h | ||
| lutil_meter.h | ||
| lutil_sha1.h | ||
| Makefile.in | ||
| openldap.h | ||
| portable.hin | ||
| rewrite.h | ||
| slapi-plugin.h | ||
| sysexits-compat.h | ||