]> git.ipfire.org Git - thirdparty/squid.git/commit
Windows: Various fixes for CMSG API emulation
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 14 Sep 2014 14:15:01 +0000 (07:15 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 14 Sep 2014 14:15:01 +0000 (07:15 -0700)
commit2ff9dfaa0f752bd304deb2b67df8a2c1c101c9b9
tree81b532f9a50d635b45ec76c5990436a8b8fc846f
parent7e851a397f262b8fd52184aa927e9c5c9f8359cc
Windows: Various fixes for CMSG API emulation

* Windows defines CMSG_DATA macro name for uses unrelated to the BSD
  socket CMSG mechanism. Define SQUID_CMSG_DATA as a generic replacement.

* MinGW provides a wrapper layer emulating the BSD socket CMSG mechanism
  in the form of WSA_CMG_* macros for the BSD struct types.
  Detect and use those wrapper macros when available.
compat/cmsg.h
configure.ac
src/ip/QosConfig.cc
src/ipc/TypedMsgHdr.cc