Go to the documentation of this file.
20 #ifndef ESSENTIA_CONFIG_H
21 #define ESSENTIA_CONFIG_H
28 #ifndef ESSENTIA_VERSION
29 #define ESSENTIA_VERSION "Undefined"
37 #ifndef ESSENTIA_GIT_SHA
38 #define ESSENTIA_GIT_SHA "Undefined"
49 #ifndef DEBUGGING_ENABLED
50 #define DEBUGGING_ENABLED 1
59 #ifndef ESSENTIA_EXPORTS
60 #define ESSENTIA_EXPORTS 1
68 #ifndef STRIP_DOCUMENTATION
69 #define STRIP_DOCUMENTATION 0
77 #ifndef CASE_SENSITIVE
78 #define CASE_SENSITIVE 1
88 #ifndef SAFE_TYPE_COMPARISONS
89 #define SAFE_TYPE_COMPARISONS 0
100 #ifndef ALLOW_DEFAULT_PARAMETERS
101 #define ALLOW_DEFAULT_PARAMETERS 1
107 #if __cplusplus >= 201103L
114 #if defined(__MINGW__) || defined(__MINGW32__)
118 #if (defined(_MSC_VER) || defined(_WIN32))
121 # if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
123 # elif defined(__FreeBSD__)
131 #ifndef DOXYGEN_SHOULD_SKIP_THIS
136 #pragma warning (disable : 4251 4275)
137 #pragma warning (disable : 4244 4305 4267)
138 #pragma warning (disable : 4996)
139 #pragma warning (disable : 4146)
140 #pragma warning (disable : 4355)
143 #if !defined(OS_WIN32)
147 typedef unsigned int uint;
149 #define strcasecmp _stricmp
169 typedef unsigned int uint;
175 # define GCC_VERSION (__GNUC__ * 10000 \
176 + __GNUC_MINOR__ * 100 \
177 + __GNUC_PATCHLEVEL__)
186 # define ESSENTIA_DLLEXPORT __declspec(dllexport)
187 # define ESSENTIA_DLLIMPORT __declspec(dllimport)
189 # if (GCC_VERSION >= 40000)
190 # define ESSENTIA_DLLEXPORT __attribute__ ((visibility("default")))
191 # define ESSENTIA_DLLIMPORT __attribute__ ((visibility("default")))
193 # define ESSENTIA_DLLEXPORT
194 # define ESSENTIA_DLLIMPORT
202 # define ESSENTIA_API ESSENTIA_DLLEXPORT
204 # define ESSENTIA_API ESSENTIA_DLLIMPORT
209 #if STRIP_DOCUMENTATION
210 # define DOC(x) "Unavailable"
218 # define string_cmp std::less<std::string>
219 # define charptr_cmp strcmp
221 # define string_cmp case_insensitive_str_cmp
222 # define charptr_cmp strcasecmp
unsigned int uint
Definition: types.h:49