]> git.ipfire.org Git - thirdparty/squid.git/commit
Portability polish: use #if instead of #ifdef or #ifndef
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 Jul 2011 08:37:52 +0000 (20:37 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 Jul 2011 08:37:52 +0000 (20:37 +1200)
commit1191b93b928bec671fbb2854205b799281619ba4
tree53de91824e86d686e930281ada0b94acf27d4202
parent43a90aee313ff3fbede68d511ad5a6e4f46a81f3
Portability polish: use #if instead of #ifdef or #ifndef

... when _SQUID_OS_ macros are involved. Coding guidelines since 3.1 have
been not to. This cleans up all current variations from the guideline.
58 files changed:
compat/getaddrinfo.c
compat/os/aix.h
compat/os/dragonfly.h
compat/os/freebsd.h
compat/os/hpux.h
compat/os/linux.h
compat/os/macosx.h
compat/os/netbsd.h
compat/os/next.h
compat/os/openbsd.h
compat/os/os2.h
compat/os/qnx.h
compat/os/sunos.h
compat/types.h
helpers/basic_auth/LDAP/basic_ldap_auth.cc
helpers/basic_auth/RADIUS/basic_radius_auth.cc
helpers/basic_auth/SSPI/valid.h
helpers/digest_auth/LDAP/ldap_backend.cc
helpers/digest_auth/eDirectory/edir_ldapext.cc
helpers/digest_auth/eDirectory/ldap_backend.cc
helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc
include/util.h
scripts/source-maintenance.sh
src/DiskIO/AIO/aio_win32.h
src/WinSvc.cc
src/cache_manager.cc
src/cf_gen.cc
src/comm.cc
src/debug.cc
src/defines.h
src/dns_internal.cc
src/dnsserver.cc
src/fd.cc
src/fde.cc
src/fde.h
src/fs/coss/store_dir_coss.cc
src/fs/ufs/store_dir_ufs.cc
src/globals.h
src/helper.cc
src/icmp/Icmp4.h
src/icmp/IcmpPinger.cc
src/icmp/IcmpSquid.cc
src/icmp/pinger.cc
src/icp_v2.cc
src/ip/Address.h
src/ipc/Kid.h
src/main.cc
src/protos.h
src/squid.h
src/ssl/certificate_db.cc
src/ssl/certificate_db.h
src/ssl/support.h
src/store_dir.cc
src/tools.cc
src/unlinkd.cc
src/win32.cc
tools/cachemgr.cc
tools/squidclient.cc