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

alex85k notifications at github.com
Thu Dec 3 14:51:27 UTC 2015


> @@ -57,7 +57,9 @@
>  #include <cstdio>
>  #include <cstdlib>
>  #include <cstring>
> -#include <unistd.h>
> +#ifndef _WIN32
> +#    include <unistd.h>
> +#endif
>  

Should work without it (cmake should generate it). Many other places with unistd.h.

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


More information about the Tile-serving mailing list