/usr/include/vtk-7.1/vtkConfigure.h is in libvtk7-dev 7.1.1+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkConfigure.h.in
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef vtkConfigure_h
#define vtkConfigure_h
/* This header is configured by VTK's build process. */
/*--------------------------------------------------------------------------*/
/* Compiler backend */
/* Be careful modifying this -- order is important. */
#if defined(_MSC_VER)
/* MSVC 2015+ can use a clang frontend, so we want to label it only as MSVC
* and not MSVC and clang. */
#define VTK_COMPILER_MSVC
#elif defined(__INTEL_COMPILER)
/* Intel 14+ on OSX uses a clang frontend, so again we want to label them as
* intel only, and not intel and clang. */
#define VTK_COMPILER_ICC
#elif defined(__PGI)
/* PGI reports as GNUC as it generates the same ABI, so we need to check for
* it before gcc. */
#define VTK_COMPILER_PGI
#elif defined(__clang__)
/* Check for clang before GCC, as clang says it is GNUC since it has ABI
* compliance and supports many of the same extensions. */
#define VTK_COMPILER_CLANG
#elif defined(__GNUC__)
/* Several compilers pretend to be GCC but have minor differences. To
* compensate for that, we checked for those compilers first above. */
#define VTK_COMPILER_GCC
#define VTK_COMPILER_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + \
__GNUC_PATCHLEVEL__)
#endif
/*--------------------------------------------------------------------------*/
/* Platform Features */
/* Byte order. */
/* 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__)
/* #undef VTK_WORDS_BIGENDIAN */
#elif defined(__BIG_ENDIAN__)
# define VTK_WORDS_BIGENDIAN
#endif
/* Threading system. */
#define VTK_USE_PTHREADS
/* #undef VTK_USE_SPROC */
/* #undef VTK_HP_PTHREADS */
/* #undef VTK_USE_WIN32_THREADS */
# define VTK_MAX_THREADS 64
/* Atomic operations */
#define VTK_HAVE_SYNC_BUILTINS
#if defined(_WIN32)
/* #undef VTK_HAS_INTERLOCKEDADD */
#endif
/* vtkSMPTools back-end */
#define VTK_SMP_Sequential
#define VTK_SMP_BACKEND "Sequential"
/* Compiler features. */
#define VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T
#define VTK_HAVE_SO_REUSEADDR
/* Whether we require large files support. */
#define VTK_REQUIRE_LARGE_FILE_SUPPORT
/* Whether reverse const iterator's have comparison operators. */
#define VTK_CONST_REVERSE_ITERATOR_COMPARISON
/*--------------------------------------------------------------------------*/
/* VTK Platform Configuration */
/* Whether the target platform supports shared libraries. */
/* #undef VTK_TARGET_SUPPORTS_SHARED_LIBS */
/* Whether we are building shared libraries. */
#define VTK_BUILD_SHARED_LIBS
/* Whether vtkIdType is a 64-bit integer type (or a 32-bit integer type). */
#define VTK_USE_64BIT_IDS
#include "vtkVersionMacros.h" // removed by VTK_LEGACY_REMOVE
/* C++ compiler used. */
#define VTK_CXX_COMPILER "/usr/bin/mpic++"
/* Compatibility settings. */
/* #undef VTK_LEGACY_REMOVE */
/* #undef VTK_LEGACY_SILENT */
/* Debug leaks support. */
/* #undef VTK_DEBUG_LEAKS */
/* Print warning on vtkArrayDispatch failure. */
/* #undef VTK_WARN_ON_DISPATCH_FAILURE */
/* Should all New methods use the object factory override. */
/* #undef VTK_ALL_NEW_OBJECT_FACTORY */
/*--------------------------------------------------------------------------*/
/* Setup VTK based on platform features and configuration. */
/* We now always use standard streams. */
#ifndef VTK_LEGACY_REMOVE
# define VTK_USE_ANSI_STDLIB
#endif
/* Define a "vtkstd_bool" for backwards compatibility. Only use bool
if this file is included by a c++ file. */
#ifndef VTK_LEGACY_REMOVE
# if defined(__cplusplus)
typedef bool vtkstd_bool;
# else
typedef int vtkstd_bool;
# endif
#endif
/* The maximum length of a file name in bytes including the
* terminating null.
*/
#if defined(PATH_MAX) // Usually defined on Windows
# define VTK_MAXPATH PATH_MAX
#elif defined(MAXPATHLEN) // Usually defined on linux
# define VTK_MAXPATH MAXPATHLEN
#else
# define VTK_MAXPATH 32767 // Possible with Windows "extended paths"
#endif
#if (__cplusplus >= 201103L) || ( defined(_MSC_VER) && _MSC_VER >= 1700 )
# define VTK_OVERRIDE override
# define VTK_FINAL final
#else
# define VTK_OVERRIDE
# define VTK_FINAL
#endif
#if (__cplusplus >= 201103L) || ( defined(_MSC_VER) && _MSC_VER >= 1800 )
# define VTK_DELETE_FUNCTION =delete
#else
# define VTK_DELETE_FUNCTION
#endif
/** extern template declarations for C++11
*/
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700)
#define VTK_USE_EXTERN_TEMPLATE
#endif
/** std::auto_ptr is deprecated in C++11 and will be removed in C++17
* use std::unique_ptr in C++11 and later compilers.
*/
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >=1700)\
|| (defined(_CPPLIB_VER) && _CPPLIB_VER >= 520)
# define VTK_HAS_STD_UNIQUE_PTR
#endif
/* MS Visual Studio 2015 finally supports C99/C++11's snprintf but
* for older versions, use _snprintf instead. Annoyingly, its semantics
* are slightly different, but still better than using sprintf.
*/
#if defined(_MSC_VER) && (_MSC_VER < 1900)
# define snprintf _snprintf
#endif
#endif // vtkConfigure_h
|