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

#ifdef BUILD_api
#   ifdef _WIN32
#       define OPENTRACK_API_LINKAGE __declspec(dllexport)
#   else
#       define OPENTRACK_API_LINKAGE
#   endif

#   ifndef _MSC_VER
#       define OPENTRACK_API_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_API_LINKAGE
#   else
#       define OPENTRACK_API_EXPORT OPENTRACK_API_LINKAGE
#   endif

#else
#   include "import.hpp"
#endif