diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-06 07:38:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-06 12:07:48 +0200 |
commit | c2f870b244618f848c77d4bd8b02a8775907822d (patch) | |
tree | fbfd69411dcbe7366efa2cbe981a25584a5793d0 /csv | |
parent | 069ebb6212aa096adb1ded0823ac4194db9b0d03 (diff) |
csv, compat, logic, api: open-code import.hpp
Diffstat (limited to 'csv')
-rw-r--r-- | csv/export.hpp | 12 | ||||
-rw-r--r-- | csv/import.hpp | 13 |
2 files changed, 11 insertions, 14 deletions
diff --git a/csv/export.hpp b/csv/export.hpp index 506833c4..eb8d723f 100644 --- a/csv/export.hpp +++ b/csv/export.hpp @@ -14,5 +14,15 @@ # endif #else -# include "import.hpp" + #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 diff --git a/csv/import.hpp b/csv/import.hpp deleted file mode 100644 index 5fcfdd58..00000000 --- a/csv/import.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -#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 |