[Tile-serving] [osm2pgsql] Windows: Fix msvc build (#512)

Sarah Hoffmann notifications at github.com
Mon Nov 30 12:12:44 UTC 2015


> @@ -21,7 +21,10 @@
>  */
>  
>  #include <boost/format.hpp>
> -
> +#ifdef _WIN32
> +#    define NOMINMAX
> +#    include <WinSock2.h>

Could you explain what error you get here that requires the include? This looks like something that should go into libosmium.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/512/files#r46136006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151130/e75ad301/attachment.html>


More information about the Tile-serving mailing list