If you are following the instructions to build log4cxx 0.10 in Visual Studio 2005, and you have the Windows Platform SDK v6.0 installed, you may get errors compiling multicast.c in the apr project.
I found the solution, and it’s pretty easy. Open up multicast.c and edit the lines:
136: #if MCAST_JOIN_SOURCE_GROUP
148: #if MCAST_JOIN_SOURCE_GROUP
to be, instead:
136: #if defined(group_source_req)
148: #if defined(group_source_req)
e voilà! now it compiles.
Check out my latest book, the essential, in-depth guide to performance for all .NET developers:
Writing High-Performance.NET Code by Ben Watson. Available now as an eBook at: