1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
/* libsrc/ncconfig.in. Generated automatically from configure.in by autoheader. */
/* $Id: ncconfig.h.in,v 1.1 2010-01-06 16:34:05 kwleiter Exp $ */
#ifndef _NCCONFIG_H_
#define _NCCONFIG_H_
/* Define if this is a shared build */
#cmakedefine BUILD_SHARED_LIBS
#if defined( BUILD_SHARED_LIBS ) && defined( _WIN32 )
# define DLL_NETCDF
#endif
#ifdef vtkNetCDF_EXPORTS
# define DLL_EXPORT
#endif
/* Define if you're on an HP-UX system. */
#cmakedefine _HPUX_SOURCE
/* Define if type char is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
#cmakedefine __CHAR_UNSIGNED__
#endif
/* Define if your struct stat has st_blksize. */
#cmakedefine HAVE_ST_BLKSIZE @HAVE_ST_BLKSIZE@
/* Define to `long' if <sys/types.h> doesn't define. */
#cmakedefine off_t @off_t@
/* Define to `unsigned' if <sys/types.h> doesn't define. */
#cmakedefine size_t @size_t@
/* Define if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS @STDC_HEADERS@
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
/* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
__LITTLE_ENDIAN__ to match the endianness of the architecture being
compiled for. This is not necessarily the same as the architecture of the
machine doing the building. In order to support Universal Binaries on
Mac OS X, we prefer those defines to decide the endianness.
On other platforms we use the result of the TRY_RUN. */
#if !defined(__APPLE__)
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
#elif defined(__BIG_ENDIAN__)
# define WORDS_BIGENDIAN 1
#endif
/* Define if you don't have the <stdlib.h>. */
#cmakedefine NO_STDLIB_H @NO_STDLIB_H@
/* Define if you don't have the <sys/types.h>. */
#cmakedefine NO_SYS_TYPES_H @NO_SYS_TYPES_H@
/* Define if you have the ftruncate function */
#cmakedefine HAVE_FTRUNCATE @HAVE_FTRUNCATE@
/* Define if you have alloca, as a function or macro. */
#cmakedefine HAVE_ALLOCA @HAVE_ALLOCA@
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#cmakedefine HAVE_ALLOCA_H @HAVE_ALLOCA_H@
/* Define if you have <unistd.h> and it should be used (not on Ultrix). */
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
/* Define if you don't have the strerror function */
#cmakedefine NO_STRERROR @NO_STRERROR@
/* Define to `int' if system doesn't define. */
#cmakedefine ssize_t @ssize_t@
/* Define to `int' if system doesn't define. */
#cmakedefine ptrdiff_t @ptrdiff_t@
/* Define to `unsigned char' if system doesn't define. */
#cmakedefine uchar @uchar@
/* Define if the system does not use IEEE floating point representation */
#cmakedefine NO_IEEE_FLOAT @NO_IEEE_FLOAT@
/* Size of fundamental data types. */
/* Mac OS X uses two data models, ILP32 (in which integers, long integers,
and pointers are 32-bit quantities) and LP64 (in which integers are 32-bit
quantities and long integers and pointers are 64-bit quantities). In order
to support Universal Binaries on Mac OS X, we rely on this knowledge
instead of testing the sizes of the building machine.
On other platforms we use the result of the TRY_RUN. */
#if !defined(__APPLE__)
#cmakedefine SIZEOF_SHORT @SIZEOF_SHORT@
#cmakedefine SIZEOF_INT @SIZEOF_INT@
#cmakedefine SIZEOF_LONG @SIZEOF_LONG@
#cmakedefine SIZEOF_FLOAT @SIZEOF_FLOAT@
#cmakedefine SIZEOF_DOUBLE @SIZEOF_DOUBLE@
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
#cmakedefine SIZEOF_OFF_T @SIZEOF_OFF_T@
#else
# define SIZEOF_SHORT 2
# define SIZEOF_INT 4
# if defined(__LP64__) && __LP64__
# define SIZEOF_LONG 8
# define SIZEOF_SIZE_T 8
# else
# define SIZEOF_LONG 4
# define SIZEOF_SIZE_T 4
# endif
# define SIZEOF_FLOAT 4
# define SIZEOF_DOUBLE 8
# define SIZEOF_OFF_T 8
#endif
#endif /* !_NCCONFIG_H_ */
|