Go to the documentation of this file. 6 #ifndef DYNACOM_CONFIG_HH 7 # define DYNACOM_CONFIG_HH 10 # define DYNACOM_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown. 11 # define DYNACOM_VERSION "1.2.0" 12 # define DYNACOM_MAJOR_VERSION 1 13 # define DYNACOM_MINOR_VERSION 2 14 # define DYNACOM_PATCH_VERSION 0 16 #define DYNACOM_VERSION_AT_LEAST(major, minor, patch) (DYNACOM_MAJOR_VERSION>major || (DYNACOM_MAJOR_VERSION>=major && \ 17 (DYNACOM_MINOR_VERSION>minor || (DYNACOM_MINOR_VERSION>=minor && \ 18 DYNACOM_PATCH_VERSION>=patch)))) 20 #define DYNACOM_VERSION_AT_MOST(major, minor, patch) (DYNACOM_MAJOR_VERSION<major || (DYNACOM_MAJOR_VERSION<=major && \ 21 (DYNACOM_MINOR_VERSION<minor || (DYNACOM_MINOR_VERSION<=minor && \ 22 DYNACOM_PATCH_VERSION<=patch)))) 34 # if defined _WIN32 || defined __CYGWIN__ 36 # define DYNACOM_DLLIMPORT __declspec(dllimport) 37 # define DYNACOM_DLLEXPORT __declspec(dllexport) 38 # define DYNACOM_DLLLOCAL 42 # define DYNACOM_DLLIMPORT __attribute__ ((visibility("default"))) 43 # define DYNACOM_DLLEXPORT __attribute__ ((visibility("default"))) 44 # define DYNACOM_DLLLOCAL __attribute__ ((visibility("hidden"))) 47 # define DYNACOM_DLLIMPORT 48 # define DYNACOM_DLLEXPORT 49 # define DYNACOM_DLLLOCAL 50 # endif // __GNUC__ >= 4 51 # endif // defined _WIN32 || defined __CYGWIN__ 53 # ifdef DYNACOM_STATIC 56 # define DYNACOM_DLLAPI 57 # define DYNACOM_LOCAL 61 # ifdef dynacom_EXPORTS 62 # define DYNACOM_DLLAPI DYNACOM_DLLEXPORT 64 # define DYNACOM_DLLAPI DYNACOM_DLLIMPORT 65 # endif // DYNACOM_EXPORTS 66 # define DYNACOM_LOCAL DYNACOM_DLLLOCAL 67 # endif // DYNACOM_STATIC