diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 11:28:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 11:28:17 +0100 |
commit | 0424a2802aec3600774ba9347c49312bb09b8cfe (patch) | |
tree | ea2e3d9fc0634e235b997b1b6054898a9478f9b2 /opentrack-compat/compat-export.hpp | |
parent | 5a2ddaf39cf5ad86cf43d8a01f51989b5e3afa49 (diff) |
all: adjust options.hpp move to compat
Diffstat (limited to 'opentrack-compat/compat-export.hpp')
-rw-r--r-- | opentrack-compat/compat-export.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/opentrack-compat/compat-export.hpp b/opentrack-compat/compat-export.hpp new file mode 100644 index 00000000..2d6f1d3d --- /dev/null +++ b/opentrack-compat/compat-export.hpp @@ -0,0 +1,15 @@ +#pragma once + +#ifndef OPENTRACK_COMPAT_EXPORT +# ifdef _WIN32 +# define OPENTRACK_COMPAT_LINKAGE __declspec(dllexport) +# else +# define OPENTRACK_COMPAT_LINKAGE +# endif + +# ifndef _MSC_VER +# define OPENTRACK_COMPAT_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_COMPAT_LINKAGE +# else +# define OPENTRACK_COMPAT_EXPORT OPENTRACK_COMPAT_LINKAGE +# endif +#endif |