Go to the documentation of this file.
7 # define TSID_CONFIG_HH
10 # define TSID_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11 # define TSID_VERSION "1.6.1"
12 # define TSID_MAJOR_VERSION 1
13 # define TSID_MINOR_VERSION 6
14 # define TSID_PATCH_VERSION 1
16 #define TSID_VERSION_AT_LEAST(major, minor, patch) (TSID_MAJOR_VERSION>major || (TSID_MAJOR_VERSION>=major && \
17 (TSID_MINOR_VERSION>minor || (TSID_MINOR_VERSION>=minor && \
18 TSID_PATCH_VERSION>=patch))))
20 #define TSID_VERSION_AT_MOST(major, minor, patch) (TSID_MAJOR_VERSION<major || (TSID_MAJOR_VERSION<=major && \
21 (TSID_MINOR_VERSION<minor || (TSID_MINOR_VERSION<=minor && \
22 TSID_PATCH_VERSION<=patch))))
34 # if defined _WIN32 || defined __CYGWIN__
36 # define TSID_DLLIMPORT __declspec(dllimport)
37 # define TSID_DLLEXPORT __declspec(dllexport)
38 # define TSID_DLLLOCAL
42 # define TSID_DLLIMPORT __attribute__ ((visibility("default")))
43 # define TSID_DLLEXPORT __attribute__ ((visibility("default")))
44 # define TSID_DLLLOCAL __attribute__ ((visibility("hidden")))
47 # define TSID_DLLIMPORT
48 # define TSID_DLLEXPORT
49 # define TSID_DLLLOCAL
50 # endif // __GNUC__ >= 4
51 # endif // defined _WIN32 || defined __CYGWIN__
62 # define TSID_DLLAPI TSID_DLLEXPORT
64 # define TSID_DLLAPI TSID_DLLIMPORT
65 # endif // TSID_EXPORTS
66 # define TSID_LOCAL TSID_DLLLOCAL
67 # endif // TSID_STATIC