summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/qtfindreplacedialog
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-07-25 18:06:41 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-07-25 18:06:41 +0000
commit62f661829b8e3067dc638c1e8f2dfaacb5dbf4e0 (patch)
tree850970366a8ac968665fe2b844c814eed057b120 /utils/themeeditor/qtfindreplacedialog
parent4e8ef935097cc0571e0eb6e34071753dbb763cfc (diff)
downloadrockbox-62f661829b8e3067dc638c1e8f2dfaacb5dbf4e0.tar.gz
rockbox-62f661829b8e3067dc638c1e8f2dfaacb5dbf4e0.tar.bz2
rockbox-62f661829b8e3067dc638c1e8f2dfaacb5dbf4e0.zip
Theme Editor: fix building on Windows.
The imported qtfindreplacedialog assumes getting compiled as library. Including the files directly causes problems on Windows because of its __declspec() handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/qtfindreplacedialog')
-rw-r--r--utils/themeeditor/qtfindreplacedialog/findreplace_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/qtfindreplacedialog/findreplace_global.h b/utils/themeeditor/qtfindreplacedialog/findreplace_global.h
index 4f8c1a7353..be71bff752 100644
--- a/utils/themeeditor/qtfindreplacedialog/findreplace_global.h
+++ b/utils/themeeditor/qtfindreplacedialog/findreplace_global.h
@@ -8,10 +8,14 @@
#include <QtCore/qglobal.h>
+#ifndef FINDREPLACE_NOLIB
#if defined(FINDREPLACE_LIBRARY)
# define FINDREPLACESHARED_EXPORT Q_DECL_EXPORT
#else
# define FINDREPLACESHARED_EXPORT Q_DECL_IMPORT
#endif
+#else
+#define FINDREPLACESHARED_EXPORT
+#endif
#endif // FINDREPLACE_GLOBAL_H