aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/diceparser/diceparser_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/diceparser/diceparser_global.h')
-rw-r--r--include/diceparser/diceparser_global.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/diceparser/diceparser_global.h b/include/diceparser/diceparser_global.h
new file mode 100644
index 0000000..47829cc
--- /dev/null
+++ b/include/diceparser/diceparser_global.h
@@ -0,0 +1,11 @@
+#ifndef DICEPARSER_GLOBAL_H
+#define DICEPARSER_GLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+#if defined(DICEPARSER_LIBRARY)
+#define DICEPARSER_EXPORT Q_DECL_EXPORT
+#else
+#define DICEPARSER_EXPORT Q_DECL_IMPORT
+#endif
+#endif // DICEPARSER_GLOBAL_H