openldap/include/ac
Connor Smith 6489b6a857 ITS#9925 Fix some ancient #ifdef checks
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.
2022-10-13 03:37:47 +00:00
..
alloca.h Happy New Year! 2022-01-07 18:40:00 +00:00
assert.h Happy New Year! 2022-01-07 18:40:00 +00:00
bytes.h Happy New Year! 2022-01-07 18:40:00 +00:00
crypt.h Happy New Year! 2022-01-07 18:40:00 +00:00
ctype.h Happy New Year! 2022-01-07 18:40:00 +00:00
dirent.h Happy New Year! 2022-01-07 18:40:00 +00:00
errno.h Happy New Year! 2022-01-07 18:40:00 +00:00
fdset.h Happy New Year! 2022-01-07 18:40:00 +00:00
localize.h Happy New Year! 2022-01-07 18:40:00 +00:00
param.h Happy New Year! 2022-01-07 18:40:00 +00:00
regex.h Happy New Year! 2022-01-07 18:40:00 +00:00
signal.h Happy New Year! 2022-01-07 18:40:00 +00:00
socket.h ITS#9925 Fix some ancient #ifdef checks 2022-10-13 03:37:47 +00:00
stdarg.h Happy New Year! 2022-01-07 18:40:00 +00:00
stdlib.h Happy New Year! 2022-01-07 18:40:00 +00:00
string.h Happy New Year! 2022-01-07 18:40:00 +00:00
sysexits.h Happy New Year! 2022-01-07 18:40:00 +00:00
syslog.h Happy New Year! 2022-01-07 18:40:00 +00:00
termios.h Happy New Year! 2022-01-07 18:40:00 +00:00
time.h Happy New Year! 2022-01-07 18:40:00 +00:00
unistd.h Happy New Year! 2022-01-07 18:40:00 +00:00
wait.h Happy New Year! 2022-01-07 18:40:00 +00:00