summaryrefslogtreecommitdiffhomepage
path: root/opentrack/export.hpp
blob: 2dab8bef0058ba03ae3e5c2e69451da35c5653cb (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_LINKAGE
#   endif

#else
#   include "import.hpp"
#endif