Go to the documentation of this file.
6 #ifndef NDCURVES_CONFIG_HH
7 # define NDCURVES_CONFIG_HH
10 # define NDCURVES_VERSION_UNKNOWN_TAG 0
11 # define NDCURVES_VERSION "1.1.5"
12 # define NDCURVES_MAJOR_VERSION 1
13 # define NDCURVES_MINOR_VERSION 1
14 # define NDCURVES_PATCH_VERSION 5
16 #define NDCURVES_VERSION_AT_LEAST(major, minor, patch) (NDCURVES_MAJOR_VERSION>major || (NDCURVES_MAJOR_VERSION>=major && \
17 (NDCURVES_MINOR_VERSION>minor || (NDCURVES_MINOR_VERSION>=minor && \
18 NDCURVES_PATCH_VERSION>=patch))))
20 #define NDCURVES_VERSION_AT_MOST(major, minor, patch) (NDCURVES_MAJOR_VERSION<major || (NDCURVES_MAJOR_VERSION<=major && \
21 (NDCURVES_MINOR_VERSION<minor || (NDCURVES_MINOR_VERSION<=minor && \
22 NDCURVES_PATCH_VERSION<=patch))))
34 # if defined _WIN32 || defined __CYGWIN__
36 # define NDCURVES_DLLIMPORT __declspec(dllimport)
37 # define NDCURVES_DLLEXPORT __declspec(dllexport)
38 # define NDCURVES_DLLLOCAL
42 # define NDCURVES_DLLIMPORT __attribute__ ((visibility("default")))
43 # define NDCURVES_DLLEXPORT __attribute__ ((visibility("default")))
44 # define NDCURVES_DLLLOCAL __attribute__ ((visibility("hidden")))
47 # define NDCURVES_DLLIMPORT
48 # define NDCURVES_DLLEXPORT
49 # define NDCURVES_DLLLOCAL
53 # ifdef NDCURVES_STATIC
56 # define NDCURVES_DLLAPI
57 # define NDCURVES_LOCAL
61 # ifdef ndcurves_EXPORTS
62 # define NDCURVES_DLLAPI NDCURVES_DLLEXPORT
64 # define NDCURVES_DLLAPI NDCURVES_DLLIMPORT
66 # define NDCURVES_LOCAL NDCURVES_DLLLOCAL