summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/import.hpp
blob: 8a3e80c1b973d61e65a0a01ac3814c5fce177c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#ifdef _WIN32
#    define OPENTRACK_LOGIC_LINKAGE __declspec(dllimport)
#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