summaryrefslogtreecommitdiffstats
path: root/src
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:56:42 (GMT)
commit92b47ba61809de30eed205e7d1eafb1cde1087e1 (patch)
treed58e5d30817a82e0b21eee2050b56d4cc6c8b120 /src
parent04fa2a69545fddbf96454972ebf243d4c6f7b6b2 (diff)
downloadQt-92b47ba61809de30eed205e7d1eafb1cde1087e1.zip
Qt-92b47ba61809de30eed205e7d1eafb1cde1087e1.tar.gz
Qt-92b47ba61809de30eed205e7d1eafb1cde1087e1.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')
-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