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

Dominik Perpeet notifications at github.com
Thu Dec 3 22:30:58 UTC 2015


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

This was my mistake. A consistent, solution wide use of `WIN32_LEAN_AND_MEAN` takes care of this. The extra include isn't necessary.

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


More information about the Tile-serving mailing list