summaryrefslogtreecommitdiffhomepage
path: root/main-window/export.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-13 19:39:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-24 00:43:03 +0200
commit1cac120c0b6b460899add3546d013b628d6b54bc (patch)
tree45362a76b8b47e310b13a679004b1f9936ff3a87 /main-window/export.hpp
parent3faf71a4b51c3f972593d1df8f649a4a100226ac (diff)
WIP
Diffstat (limited to 'main-window/export.hpp')
-rw-r--r--main-window/export.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/main-window/export.hpp b/main-window/export.hpp
new file mode 100644
index 00000000..184cf035
--- /dev/null
+++ b/main-window/export.hpp
@@ -0,0 +1,11 @@
+// generates export.hpp for each module from compat/linkage.hpp
+
+#pragma once
+
+#include "compat/linkage-macros.hpp"
+
+#ifdef BUILD_MAIN_WINDOW
+# define OTR_MAIN_EXPORT OTR_GENERIC_EXPORT
+#else
+# define OTR_MAIN_EXPORT OTR_GENERIC_IMPORT
+#endif