Go to the documentation of this file.
6 #ifndef SOBEC_CONFIG_HH
7 # define SOBEC_CONFIG_HH
10 # define SOBEC_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11 # define SOBEC_VERSION "1.4.0"
12 # define SOBEC_MAJOR_VERSION 1
13 # define SOBEC_MINOR_VERSION 4
14 # define SOBEC_PATCH_VERSION 0
16 #define SOBEC_VERSION_AT_LEAST(major, minor, patch) (SOBEC_MAJOR_VERSION>major || (SOBEC_MAJOR_VERSION>=major && \
17 (SOBEC_MINOR_VERSION>minor || (SOBEC_MINOR_VERSION>=minor && \
18 SOBEC_PATCH_VERSION>=patch))))
20 #define SOBEC_VERSION_AT_MOST(major, minor, patch) (SOBEC_MAJOR_VERSION<major || (SOBEC_MAJOR_VERSION<=major && \
21 (SOBEC_MINOR_VERSION<minor || (SOBEC_MINOR_VERSION<=minor && \
22 SOBEC_PATCH_VERSION<=patch))))
34 # if defined _WIN32 || defined __CYGWIN__
36 # define SOBEC_DLLIMPORT __declspec(dllimport)
37 # define SOBEC_DLLEXPORT __declspec(dllexport)
38 # define SOBEC_DLLLOCAL
42 # define SOBEC_DLLIMPORT __attribute__ ((visibility("default")))
43 # define SOBEC_DLLEXPORT __attribute__ ((visibility("default")))
44 # define SOBEC_DLLLOCAL __attribute__ ((visibility("hidden")))
47 # define SOBEC_DLLIMPORT
48 # define SOBEC_DLLEXPORT
49 # define SOBEC_DLLLOCAL
50 # endif // __GNUC__ >= 4
51 # endif // defined _WIN32 || defined __CYGWIN__
62 # define SOBEC_DLLAPI SOBEC_DLLEXPORT
64 # define SOBEC_DLLAPI SOBEC_DLLIMPORT
65 # endif // SOBEC_EXPORTS
66 # define SOBEC_LOCAL SOBEC_DLLLOCAL
67 # endif // SOBEC_STATIC