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

alex85k notifications at github.com
Thu Dec 3 14:48:09 UTC 2015


> @@ -15,7 +15,9 @@
>  #include <string.h>
>  #include <sys/stat.h>
>  #include <sys/types.h>
> -#include <unistd.h>
> +#ifndef _WIN32
> +#    include <unistd.h>
> +#endif
>  

This should not be needed. There are many other unistd includes, so cmake just generates empty unistd.h.

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


More information about the Tile-serving mailing list