/usr/include/openbabel-2.0/openbabel/babelconfig.h is in libopenbabel-dev 2.3.2+dfsg-3build1.
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 190 191 192 | /* src/config.h.in. Generated from configure.in by autoheader. */
/* Where the data files are located */
#define BABEL_DATADIR "/usr/share/openbabel"
/* The version of Open Babel */
#define BABEL_VERSION "2.3.2"
/* Version check macro
Can be used like #if (OB_VERSION >= OB_VERSION_CHECK(2, 2, 99)) */
#define OB_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
/* OB_VERSION is (major << 16) + (minor << 8) + patch */
#define OB_VERSION OB_VERSION_CHECK(2, 3, 2)
/* The file extension used for shared modules */
#define MODULE_EXTENSION ".so"
// If we are using a recent GCC version with visibility support use it
#ifdef HAVE_GCC_VISIBILITY
#define OB_EXPORT __attribute__ ((visibility("default")))
#define OB_IMPORT __attribute__ ((visibility("default")))
#define OB_HIDDEN __attribute__ ((visibility("hidden")))
#elif defined(WIN32) && defined(USING_DYNAMIC_LIBS) && !defined(__MINGW32__)
#define OB_EXPORT __declspec(dllexport)
#define OB_IMPORT __declspec(dllimport)
#define OB_HIDDEN
#else
#define OB_EXPORT
#define OB_IMPORT
#define OB_HIDDEN
#endif
/* Used to export symbols for DLL / shared library builds */
#if defined(MAKE_OBDLL) // e.g. in src/main.cpp
#ifndef EXTERN
#define EXTERN OB_EXPORT extern
#endif
#ifndef OBAPI
#define OBAPI OB_EXPORT
#endif
#ifndef OBCOMMON
#define OBCOMMON OB_EXPORT
#endif
#ifndef OBCONV
#define OBCONV OB_EXPORT
#endif
#ifndef OBERROR
#define OBERROR OB_EXPORT
#endif
#ifndef OBFPRT
#define OBFPRT OB_EXPORT
#endif
#ifndef OBFPTR
#define OBFPTR OB_EXPORT
#endif
#ifndef OBMCDL
#define OBMCDL OB_EXPORT
#endif
#ifndef OBDEPICT
#define OBDEPICT OB_EXPORT
#endif
#else // defined(MAKE_OBDLL)
#ifndef EXTERN
#define EXTERN OB_IMPORT extern
#endif
#ifndef OBAPI
#define OBAPI OB_IMPORT
#endif
#ifndef OBCOMMON
#define OBCOMMON OB_IMPORT
#endif
#ifndef OBCONV
#define OBCONV OB_IMPORT
#endif
#ifndef OBERROR
#define OBERROR OB_IMPORT
#endif
#ifndef OBFPRT
#define OBFPRT OB_IMPORT
#endif
#ifndef OBFPTR
#define OBFPTR OB_IMPORT
#endif
#ifndef OBMCDL
#define OBMCDL OB_IMPORT
#ifndef OBDEPICT
#define OBDEPICT OB_IMPORT
#endif
#endif
#endif
#ifdef _MSC_VER
// Supress warning on deprecated functions
#pragma warning(disable : 4996)
// Supress warning that compiler is ignoring C++ exception specification
#pragma warning( disable : 4290 )
// Supress warning on signed/unsigned comparison with < or > (harmless, but maybe should be fixed)
#pragma warning( disable : 4018 )
// Supress warning on forcing int etc. value to bool 'true' or 'false' (performance warning)
#pragma warning( disable : 4800 )
//
#pragma warning( disable : 4251 )
#include <crtdbg.h>
#ifdef _DEBUG
#define DEBUG_NEW new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
#else
#define DEBUG_NEW new
#endif
#endif // _MSC_VER
/* have <conio.h> */
/* #undef HAVE_CONIO_H */
/* have <sys/time.h> */
#define HAVE_SYS_TIME_H 1
/* have <time.h> */
#define HAVE_TIME_H 1
/* have <sstream> */
#define HAVE_SSTREAM 1
/* have symbol clock_t */
#define HAVE_CLOCK_T 1
/* have symbol rint */
/* #undef HAVE_RINT */
/* have symbol snprintf */
#define HAVE_SNPRINTF 1
/* have symbol sranddev */
/* #undef HAVE_SRANDDEV */
/* have symbol strcasecmp */
#define HAVE_STRCASECMP 1
/* have symbol strncasecmp */
#define HAVE_STRNCASECMP 1
/* have struct clock_t */
#define HAVE_CLOCK_T 1
#if defined(WIN32)
#ifndef HAVE_ISFINITE
#define isfinite _finite
#define HAVE_ISFINITE 1
#endif
#ifndef HAVE_SNPRINTF
#define snprintf _snprintf
#define HAVE_SNPRINTF 1
#endif
#ifndef HAVE_STRCASECMP
#define strcasecmp _stricmp
#define HAVE_STRCASECMP 1
#endif
#ifndef HAVE_STRNCASECMP
#define strncasecmp _strnicmp
#define HAVE_STRNCASECMP 1
#endif
#endif // WIN32
/* #undef SCANDIR_NEEDS_CONST */
#ifdef SCANDIR_NEEDS_CONST
#define SCANDIR_CONST const
#else
#define SCANDIR_CONST
#endif
#define OB_MODULE_PATH "/usr/lib/openbabel/2.3.2"
#ifndef TIME_WITH_SYS_TIME
#ifdef HAVE_SYS_TIME
#ifdef HAVE_TIME
#define TIME_WITH_SYS_TIME 1
#else
#define TIME_WITH_SYS_TIME 0
#endif
#else
#define TIME_WITH_SYS_TIME 0
#endif
#endif
|