summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorBernd Zeimetz <bernd@bzed.de>2011-11-05 10:28:32 +0100
committerBernd Zeimetz <bernd@bzed.de>2011-11-05 10:29:56 +0100
commit2867071cd2aba0cdd4722eb5a86647eebad8c517 (patch)
tree08100500b114f717ff93d554d70a51a12c93863c /libgpsmm.h
parent824cff24e6a06693bd2bf244d45c0d7601572a6e (diff)
downloadgpsd-2867071cd2aba0cdd4722eb5a86647eebad8c517.tar.gz
Integrate libQgpsmm_global.h into libgpsmm.h.
it should be save to do so and saves us from shipping and installing libQgpsmm_global.h.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index 16ceac96..8f2e605f 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -14,7 +14,15 @@
#ifndef USE_QT
class gpsmm {
#else
-#include "libQgpsmm_global.h"
+
+#include <QtCore/qglobal.h>
+
+#if defined(LIBQGPSMM_LIBRARY)
+# define LIBQGPSMMSHARED_EXPORT Q_DECL_EXPORT
+#else
+# define LIBQGPSMMSHARED_EXPORT Q_DECL_IMPORT
+#endif
+
class LIBQGPSMMSHARED_EXPORT gpsmm {
#endif
public: