Go to the documentation of this file.
7 # define SL1M_CONFIG_HH
10 # define SL1M_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11 # define SL1M_VERSION "0.1.1"
12 # define SL1M_MAJOR_VERSION 0
13 # define SL1M_MINOR_VERSION 1
14 # define SL1M_PATCH_VERSION 1
16 #define SL1M_VERSION_AT_LEAST(major, minor, patch) (SL1M_MAJOR_VERSION>major || (SL1M_MAJOR_VERSION>=major && \
17 (SL1M_MINOR_VERSION>minor || (SL1M_MINOR_VERSION>=minor && \
18 SL1M_PATCH_VERSION>=patch))))
20 #define SL1M_VERSION_AT_MOST(major, minor, patch) (SL1M_MAJOR_VERSION<major || (SL1M_MAJOR_VERSION<=major && \
21 (SL1M_MINOR_VERSION<minor || (SL1M_MINOR_VERSION<=minor && \
22 SL1M_PATCH_VERSION<=patch))))
34 # if defined _WIN32 || defined __CYGWIN__
36 # define SL1M_DLLIMPORT __declspec(dllimport)
37 # define SL1M_DLLEXPORT __declspec(dllexport)
38 # define SL1M_DLLLOCAL
42 # define SL1M_DLLIMPORT __attribute__ ((visibility("default")))
43 # define SL1M_DLLEXPORT __attribute__ ((visibility("default")))
44 # define SL1M_DLLLOCAL __attribute__ ((visibility("hidden")))
47 # define SL1M_DLLIMPORT
48 # define SL1M_DLLEXPORT
49 # define SL1M_DLLLOCAL
50 # endif // __GNUC__ >= 4
51 # endif // defined _WIN32 || defined __CYGWIN__
62 # define SL1M_DLLAPI SL1M_DLLEXPORT
64 # define SL1M_DLLAPI SL1M_DLLIMPORT
65 # endif // SL1M_EXPORTS
66 # define SL1M_LOCAL SL1M_DLLLOCAL
67 # endif // SL1M_STATIC