Bug#886377: i2pd: FTBFS (Hurd, kFreeBSD?): winsock2.h: No such file or directory
Justification: fails to build from source
The build of i2pd for hurd-i386 (admittedly not a release
g++ -Os -D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DWIN32_APP -std=c++11 -Ilibi2pd -Ilibi2pd_client -Idaemon -I. -msse -c -o obj/libi2pd/TunnelGateway.o libi2pd/TunnelGateway.cpp
/usr/include/boost/asio/detail/socket_types.hpp:38:11: fatal error: winsock2.h: No such file or directory
The kFreeBSD autobuilders appear to be out of commission at the
moment, but I wouldn't be surprised if kFreeBSD builds turned out to
fail in the same fashion.
Could you please arrange to predefine WIN32 et al. only when actually
building for Windows?
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://email@example.com