summaryrefslogtreecommitdiff
path: root/libsowatch/sowatch_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/sowatch_global.h')
-rw-r--r--libsowatch/sowatch_global.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsowatch/sowatch_global.h b/libsowatch/sowatch_global.h
new file mode 100644
index 0000000..a3b40e6
--- /dev/null
+++ b/libsowatch/sowatch_global.h
@@ -0,0 +1,12 @@
+#ifndef SOWATCH_GLOBAL_H
+#define SOWATCH_GLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+#if defined(SOWATCH_LIBRARY)
+# define SOWATCH_EXPORT Q_DECL_EXPORT
+#else
+# define SOWATCH_EXPORT Q_DECL_IMPORT
+#endif
+
+#endif // SOWATCH_GLOBAL_H