summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-05-19 14:35:49 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-05-19 14:36:58 (GMT)
commitf2c1e1ce97cac87c9a1fb8df5a09608dc9252948 (patch)
treee880c92282139d67a61c2d4739a6e4db201b1797 /src/3rdparty/phonon
parente6419c7bb5fe384aa475c3a2e75781d5a0d77862 (diff)
downloadQt-f2c1e1ce97cac87c9a1fb8df5a09608dc9252948.zip
Qt-f2c1e1ce97cac87c9a1fb8df5a09608dc9252948.tar.gz
Qt-f2c1e1ce97cac87c9a1fb8df5a09608dc9252948.tar.bz2
Ensure that the export symbols are correct. Patch supplied by Saleem/Dallas team.
Reviewed-By: Thiago Reviewed-By: jbache
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/phonon/phonon_export.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/phonon/phonon_export.h b/src/3rdparty/phonon/phonon/phonon_export.h
index e579f67..5f93ea0 100644
--- a/src/3rdparty/phonon/phonon/phonon_export.h
+++ b/src/3rdparty/phonon/phonon/phonon_export.h
@@ -32,7 +32,11 @@
# define PHONON_EXPORT Q_DECL_IMPORT
# endif
# else /* UNIX */
-# define PHONON_EXPORT Q_DECL_EXPORT
+# ifdef MAKE_PHONON_LIB /* We are building this library */
+# define PHONON_EXPORT Q_DECL_EXPORT
+# else /* We are using this library */
+# define PHONON_EXPORT Q_DECL_IMPORT
+# endif
# endif
#endif