gdal-async
Version:
Bindings to GDAL (Geospatial Data Abstraction Library) with full async support
678 lines (467 loc) • 18.8 kB
Plain Text
/*! \file
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018
University Corporation for Atmospheric Research/Unidata.
See \ref copyright file for more info.
*/
/* Prevent an issue where there is a circular inclusion
of winsock.h/windows.h. This weird state occurs with
libdap4 and hdf4 support. The solution comes from the
following URL, found after a bit of research.
Added in support of the 4.5.0-rc1. Hello, future generations.
* https://stackoverflow.com/questions/1372480/c-redefinition-header-files-winsock2-h
*/
/* #cmakedefine HAVE_WINSOCK2_H
#ifdef HAVE_WINSOCK2_H
#define _WINSOCKAPI_
#endif
*/
/* Define O_BINARY so that the appropriate flags
are set when opening a binary file on Windows. */
/* Disable a few warnings under Visual Studio, for the
time being. */
/* Define if building universal (internal helper macro) */
/* If true, will attempt to download and build netcdf-fortran. */
/* default file chunk cache nelems. */
/* default file chunk cache preemption policy. */
/* default file chunk cache size in bytes. */
/* default nczarr chunk cache size in bytes. */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* Define to 1 if using `alloca.c'. */
/* num chunks in default per-var chunk cache. */
/* default chunk size in bytes */
/* set this only when building a DLL under MinGW */
/* set this only when building a DLL under MinGW */
/* if true, use atexist */
/* if true, build byte-range Client */
/* if true, use hdf5 S3 virtual file reader */
/* if true, enable CDF5 Support */
/* if true, enable client side filters */
/* if true, enable strict null byte header padding. */
/* if true, build DAP2 and DAP4 Client */
/* if true, build DAP4 Client */
/* if true, do remote tests */
/* if true, enable S3 support */
/* if true, S3 SDK is available */
/* if true, enable NCZARR */
/* if true, enable nczarr filter support */
/* if true, enable S3 testing*/
/* if true, enable nczarr zip support */
/* if true, Allow dynamically loaded plugins */
/* if true, run extra tests which may not work yet */
/* use HDF5 1.6 API */
/* Define to 1 if you have `alloca', as a function or macro. */
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */
/* Define to 1 if you have the `atexit function. */
/* Define to 1 if bzip2 library available. */
/* Define to 1 if zstd library available. */
/* Define to 1 if blosc library available. */
/* Define to 1 if you have hdf5_coll_metadata_ops */
/* Is CURLINFO_RESPONSE_CODE defined */
/* Is CURLINFO_HTTP_CODE defined */
/* Is CURLOPT_BUFFERSIZE defined */
/* Is CURLOPT_TCP_KEEPALIVE defined */
/* Is CURLOPT_KEYPASSWD defined */
/* Is CURLOPT_PASSWORD defined */
/* Is CURLOPT_USERNAME defined */
/* Is LIBCURL version >= 7.66 */
/* Define to 1 if you have the declaration of `isfinite', and to 0 if you
don't. */
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
/* Define to 1 if you have the <dirent.h> header file. */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* Define to 1 if you have the <fcntl.h> header file. */
/* Define to 1 if you have the BaseTsd.h header file. */
/* Define if we have filelengthi64. */
/* Define to 1 if you have the `fileno' function. */
/* Define to 1 if you have the `fsync' function. */
/* Define to 1 if you have the <getopt.h> header file. */
/* Define to 1 if you have the `getpagesize' function. */
/* Define to 1 if you have the `getrlimit' function. */
/* Define to 1 if you have the `gettimeofday' function. */
/* Define to 1 if you have the `clock_gettime' function. */
/* Define to 1 if you have the `gettimeofday' function. */
/* Define to 1 if you have the `H5Z_SZIP' function. */
/* Define to 1 if you have libsz */
/* Define to 1 if you have the <hdf5.h> header file. */
/* Define to 1 if you have the <hdf5.h> header file. */
/* Define to 1 if the system has the type `int64'. */
/* Define to 1 if you have the <inttypes.h> header file. */
/* Define to 1 if you have the `dl' library (-ldl). */
/* Define to 1 if you have the `jpeg' library (-ljpeg). */
/* Define to 1 if you have the `m' library (-lm). */
/* Define to 1 if you have the `mfhdf' library (-lmfhdf). */
/* Define to 1 if you have the `pnetcdf' library (-lpnetcdf). */
/* Define to 1 if you have the libxml2 library. */
/* Define to 1 if you have the <locale.h> header file. */
/* Define to 1 if the system has the type `longlong'. */
/* Define to 1 if the system has the type 'long long int'. */
/* Define to 1 if you have the <malloc.h> header file. */
/* Define to 1 if you have the `memmove' function. */
/* Define to 1 if you have the `mkstemp' function. */
/* Define to 1 if you have the `mktemp' function. */
/* Define to 1 if you have the `MPI_Comm_f2c' function. */
/* Define to 1 if you have the `MPI_Info_f2c' function. */
/* Define to 1 if you have the `mremap' function. */
/* Define to 1 if you have the `random' function. */
/* Define to 1 if you have the `snprintf' function. */
/* Define to 1 if the system has the type `ssize_t'. */
/* Define to 1 if the system has the type `ptrdiff_t'. */
/* Define to 1 if the system has the type `uintptr_t'. */
/* Define to 1 if you have the <stdarg.h> header file. */
/* Define to 1 if you have the <stdint.h> header file. */
/* Define to 1 if you have the <stdio.h> header file. */
/* Define to 1 if you have the <stdlib.h> header file. */
/* Define to 1 if you have the <strings.h> header file. */
/* Define to 1 if you have the <signal.h> header file. */
/* Define to 1 if you have the <string.h> header file. */
/* Define to 1 if you have the <ftw.h> header file. */
/* Define to 1 if you have the <libgen.h> header file. */
/* Define to 1 if you have the `strdup' function. */
/* Define to 1 if you have the `strndup` function. */
/* Define to 1 if you have the `strcasecmp` function. */
/* Define to 1 if you have the `strlcat' function. */
/* Define to 1 if you have the `strtoll' function. */
/* Define to 1 if you have the `strtoull' function. */
/* Define to 1 if you have the `stroull' function. */
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
/* Define to 1 if you have the `sysconf' function. */
/* Define to 1 if you have the <sys/param.h> header file. */
/* Define to 1 if you have the <sys/resource.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
/* Define to 1 if you have the <sys/time.h> header file. */
/* Define to 1 if you have the <sys/types.h> header file. */
/* Define to 1 if you have the <time.h> header file. */
/* Define to 1 if the system has the type `uchar'. */
/* Define to 1 if the system has the type `uint'. */
/* Define to 1 if the system has the type `uint64'. */
/* Define to 1 if the system has the type `uint64_t'. */
/* Define to 1 if you have the <unistd.h> header file. */
/* Define to 1 if the system has the type `ushort'. */
/* if true, hdf5 has parallelism enabled */
/* if true, HDF5 is at least version 1.10. 3 and allows parallel I/O
with zip */
/* if true, HDF5 is at least version 1.10.5 and supports UTF8 paths */
/* if true, backtrace support will be used. */
/* if true, include JNA bug fix */
/* do large file tests */
/* If true, turn on logging. */
/* If true, define nc_set_log_level. */
/* max size of the default per-var chunk cache. */
/* min blocksize for posixio. */
/* Add extra properties to _NCProperties attribute */
/* Idspatch table version */
/* no IEEE float on this platform */
/* do not build the netCDF version 2 API */
/* Name of package */
/* Define to the address where bug reports for this package should be sent. */
/* Define to the full name of this package. */
/* Define to the full name and version of this package. */
/* Define to the one symbol short name of this package. */
/* Define to the home page for this package. */
/* Define to the version of this package. */
/* Do we have access to the Windows Registry */
/* define the possible sources for remote test servers */
/* The size of `ulonglong` as computed by sizeof. */
/* The size of `longlong` as computed by sizeof. */
/* The size of `char` as computed by sizeof. */
/* The size of `uchar` as computed by sizeof. */
/* The size of `__int64` found on Windows systems. */
/* The size of `void*` as computed by sizeof. */
/* The size of `short` as computed by sizeof. */
/* The size of `double', as computed by sizeof. */
/* The size of `float', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
/* The size of `long long', as computed by sizeof. */
/* The size of `off_t', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
/* The size of `size_t', as computed by sizeof. */
/* The size of `uint', as computed by sizeof. */
/* The size of `unsigned int', as computed by sizeof. */
/* The size of `unsigned long long', as computed by sizeof. */
/* The size of `unsigned short int', as computed by sizeof. */
/* The size of `ushort', as computed by sizeof. */
/* The size of `void*', as computed by sizeof. */
/* Place to put very large netCDF test files. */
/* if true, build DAP Client */
/* if true, include NC_DISKLESS code */
/* set this to use extreme numbers in tests */
/* if true, use ffio instead of posixio */
/* if true, include experimental fsync code */
/* if true, use HDF4 too */
/* If true, use use wget to fetch some sample HDF4 data, and then test against
it. */
//#cmakedefine USE_HDF4_FILE_TESTS 1
/* if true, use mmap for in-memory files */
/* if true, build netCDF-4 */
/* build the netCDF version 2 API */
/* if true, pnetcdf or parallel netcdf-4 is in use */
/* if true, parallel netcdf-4 is in use */
/* if true, parallel netCDF is used */
/* if true, use stdio instead of posixio */
/* if true, multi-filters enabled*/
/* if true, enable nczarr blosc support */
/* Version number of package */
/* Capture Windows version and build */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
/* Enable large inode numbers on Mac OS X 10.5. */
/* Define for large files, on AIX-style hosts. */
/* Define to `long int' if <sys/types.h> does not define. */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `signed long if <sys/types.h> does not define. */
/* Define to `unsigned long if <sys/types.h> does not define. */