]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix macro name clash on freebsd (#426)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 29 Jun 2019 16:01:32 +0000 (16:01 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 30 Jun 2019 08:36:07 +0000 (08:36 +0000)
commitbf0a242d41581132ac69733935ded4d2f98db018
treebf792bd1cf22e31a163590ed69c852e6540b80a2
parentdb85103692c087a301e89e03de0a0d5368a5cf23
Fix macro name clash on freebsd (#426)

FreeBSD defines FD_NONE in /usr/include/fcntl.h to be magic to
the system. We are not using that name explicitly anywhere, but
it may make sense to keep it around as a default value for
fd_type. Rename the symbol to avoid the clash and fix the build
on FreeBSD.
src/enums.h