[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
Rolf Eike Beer
notifications at github.com
Sat Oct 17 17:29:09 UTC 2015
> +#cmakedefine HAVE_POSIX_FADVISE 1
> +#cmakedefine HAVE_POSIX_FALLOCATE 1
> +#cmakedefine HAVE_PTHREAD 1
> +#cmakedefine HAVE_SYNC_FILE_RANGE 1
> +#cmakedefine HAVE_TERMIOS_H 1
> +#cmakedefine HAVE_LIBGEN_H 1
> +#cmakedefine HAVE_SYS_WAIT_H 1
> +#cmakedefine HAVE_UNISTD_H 1
> +#cmakedefine SIZEOF_OFF_T ${SIZEOF_OFF_T}
> +
> +#ifdef _MSC_VER
> +#if _MSC_VER < 1900
> +#define snprintf _snprintf
> +#endif
> +
> +typedef __int64 ssize_t;
This is wrong for 32 bit Windows. No idea if anyone still cares. But if you do, there seems to be a correct define on Windows which you can use: https://msdn.microsoft.com/de-de/library/windows/desktop/aa383751(v=vs.85).aspx
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42311668
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/82621642/attachment-0001.html>
More information about the Tile-serving
mailing list