summaryrefslogtreecommitdiffhomepage
path: root/compat/linkage.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:00:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:08:56 +0200
commit7337f89f4d69cc0e5fe3a72f9f6773ecf9b24cc5 (patch)
treed24194237167fa7a1e5303b78c8bc2b2017475b7 /compat/linkage.hpp
parent783739a2f3599e00869f907ed1747491b35486b1 (diff)
start renaming internal macros as OPENTRACK_* to OTR_*
Diffstat (limited to 'compat/linkage.hpp')
-rw-r--r--compat/linkage.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/compat/linkage.hpp b/compat/linkage.hpp
new file mode 100644
index 00000000..b49da34b
--- /dev/null
+++ b/compat/linkage.hpp
@@ -0,0 +1,11 @@
+// generates export.hpp for each module from compat/linkage.hpp
+
+#pragma once
+
+#include "compat/linkage-macros.hpp"
+
+#ifdef BUILD_${module}
+# define OTR_${module}_EXPORT OTR_GENERIC_EXPORT
+#else
+# define OTR_${module}_EXPORT OTR_GENERIC_IMPORT
+#endif