We currently use of #define to replace functions in the stdlib API with
versions which use the Windows API and error reporting.
Some of these result in precompiler replacement of systen internal
symbols. In this case member functions called bind() in templates of
<functional> API get replaced by Squid::bind() symbol.
return (char *)strchr(s,c);
}
+// stdlib <functional> definitions are required before std API redefinitions.
+#include <functional>
+
/** \cond AUTODOCS-IGNORE */
namespace Squid
{