summaryrefslogtreecommitdiffhomepage
path: root/csv/export.hpp
blob: eb8d723f4abd83a6a8b0ba039c4153832523b6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#ifdef BUILD_csv
#   ifdef _WIN32
#       define OPENTRACK_CSV_LINKAGE __declspec(dllexport)
#   else
#       define OPENTRACK_CSV_LINKAGE
#   endif

#   ifndef _MSC_VER
#       define OPENTRACK_CSV_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_CSV_LINKAGE
#   else
#       define OPENTRACK_CSV_EXPORT OPENTRACK_CSV_LINKAGE
#   endif

#else
    #ifdef _WIN32
    #    define OPENTRACK_CSV_LINKAGE __declspec(dllimport)
    #else
    #    define OPENTRACK_CSV_LINKAGE
    #endif

    #ifndef _MSC_VER
    #    define OPENTRACK_CSV_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_CSV_LINKAGE
    #else
    #    define OPENTRACK_CSV_EXPORT OPENTRACK_CSV_LINKAGE
    #endif
#endif