diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2011-11-05 10:28:32 +0100 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2011-11-05 10:29:56 +0100 |
commit | 2867071cd2aba0cdd4722eb5a86647eebad8c517 (patch) | |
tree | 08100500b114f717ff93d554d70a51a12c93863c /libgpsmm.h | |
parent | 824cff24e6a06693bd2bf244d45c0d7601572a6e (diff) | |
download | gpsd-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.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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: |