summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/export.hpp
blob: db4f0d86a5daa2f9d6f39a715567e621487ecd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#ifdef BUILD_logic
#   ifdef _WIN32
#       define OPENTRACK_LOGIC_LINKAGE __declspec(dllexport)
#   else
#       define OPENTRACK_LOGIC_LINKAGE
#   endif

#   ifndef _MSC_VER
#       define OPENTRACK_LOGIC_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_LOGIC_LINKAGE
#   else
#       define OPENTRACK_LOGIC_EXPORT OPENTRACK_LOGIC_LINKAGE
#   endif

#else
#   include "import.hpp"
#endif