mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -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. |
||
|---|---|---|
| .. | ||
| alloca.h | ||
| assert.h | ||
| bytes.h | ||
| crypt.h | ||
| ctype.h | ||
| dirent.h | ||
| errno.h | ||
| fdset.h | ||
| localize.h | ||
| param.h | ||
| regex.h | ||
| signal.h | ||
| socket.h | ||
| stdarg.h | ||
| stdlib.h | ||
| string.h | ||
| sysexits.h | ||
| syslog.h | ||
| termios.h | ||
| time.h | ||
| unistd.h | ||
| wait.h | ||