diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 10:49:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 11:01:31 +0200 |
commit | 783739a2f3599e00869f907ed1747491b35486b1 (patch) | |
tree | 1b1e5179c30e9feb711ce1e678f5236d97fe1789 /spline/export.hpp | |
parent | 8c2ed1d36e1a9d7c0eeabea40f8229d1aa6774d1 (diff) |
rename spline-widget -> spline
Adjust usages.
Diffstat (limited to 'spline/export.hpp')
-rw-r--r-- | spline/export.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/spline/export.hpp b/spline/export.hpp new file mode 100644 index 00000000..4875b4c1 --- /dev/null +++ b/spline/export.hpp @@ -0,0 +1,27 @@ +#pragma once + +#ifdef BUILD_spline_widget +# ifdef _WIN32 +# define OPENTRACK_SPLINE_LINKAGE __declspec(dllexport) +# else +# define OPENTRACK_SPLINE_LINKAGE +# endif + +# ifndef _MSC_VER +# define OPENTRACK_SPLINE_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_SPLINE_LINKAGE +# else +# define OPENTRACK_SPLINE_EXPORT OPENTRACK_SPLINE_LINKAGE +# endif +#else + #ifdef _WIN32 + # define OPENTRACK_SPLINE_LINKAGE __declspec(dllimport) + #else + # define OPENTRACK_SPLINE_LINKAGE + #endif + + #ifndef _MSC_VER + # define OPENTRACK_SPLINE_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_SPLINE_LINKAGE + #else + # define OPENTRACK_SPLINE_EXPORT OPENTRACK_SPLINE_LINKAGE + #endif +#endif |