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

alex85k notifications at github.com
Thu Dec 3 14:52:49 UTC 2015


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

We already have -DNOMINMAX in cmake. 
Why WinSock.h?

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


More information about the Tile-serving mailing list