summaryrefslogtreecommitdiffstats
path: root/src/coroutine_global.h
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-03-25 10:24:52 +0100
committerChristian Kamm <christian.d.kamm@nokia.com>2010-03-26 13:05:03 +0100
commit4eefefed7f4ceae137fb5173cff5a484ca830af0 (patch)
tree0e850feb2205d79c520b8608571abca836608e94 /src/coroutine_global.h
parent3e5ad834d770909642b70589d24c6b7a4103048e (diff)
Export symbols correctly.
Diffstat (limited to 'src/coroutine_global.h')
-rw-r--r--src/coroutine_global.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/coroutine_global.h b/src/coroutine_global.h
new file mode 100644
index 0000000..35f7cd8
--- /dev/null
+++ b/src/coroutine_global.h
@@ -0,0 +1,12 @@
+#ifndef COROUTINE_GLOBAL_H
+#define COROUTINE_GLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+#if defined(COROUTINE_LIBRARY)
+# define COROUTINE_EXPORT Q_DECL_EXPORT
+#else
+# define COROUTINE_EXPORT Q_DECL_IMPORT
+#endif
+
+#endif // COROUTINE_GLOBAL_H