From 783739a2f3599e00869f907ed1747491b35486b1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Mar 2017 10:49:19 +0200 Subject: rename spline-widget -> spline Adjust usages. --- spline/export.hpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 spline/export.hpp (limited to 'spline/export.hpp') 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 -- cgit v1.2.3