summaryrefslogtreecommitdiff
path: root/qt4/src
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2014-01-26 12:38:03 +0100
committerPino Toscano <pino@kde.org>2014-01-26 12:38:03 +0100
commit52b46d05219cf9898ee4adae7c8c2702adb1ba23 (patch)
treeaf4f683d406f1e1a9bf8d48e888ac0e0ac0ec77e /qt4/src
parent7a8bcea11ad71fccbbba2787fc442f6ba4bf7100 (diff)
qt4/qt5: improve naming of internal export/import macros
use something less generic than LIB_EXPORT/LIB_IMPORT
Diffstat (limited to 'qt4/src')
-rw-r--r--qt4/src/poppler-export.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/qt4/src/poppler-export.h b/qt4/src/poppler-export.h
index 7661fe9e..0e5d0a02 100644
--- a/qt4/src/poppler-export.h
+++ b/qt4/src/poppler-export.h
@@ -3,15 +3,15 @@
* This is needed for setting the visibility on windows, it will have no effect on other platforms.
*/
#if defined(_WIN32)
-# define LIB_EXPORT __declspec(dllexport)
-# define LIB_IMPORT __declspec(dllimport)
+# define _POPPLER_QT4_LIB_EXPORT __declspec(dllexport)
+# define _POPPLER_QT4_LIB_IMPORT __declspec(dllimport)
#else
-# define LIB_EXPORT
-# define LIB_IMPORT
+# define _POPPLER_QT4_LIB_EXPORT
+# define _POPPLER_QT4_LIB_IMPORT
#endif
#ifdef poppler_qt4_EXPORTS
-# define POPPLER_QT4_EXPORT LIB_EXPORT
+# define POPPLER_QT4_EXPORT _POPPLER_QT4_LIB_EXPORT
#else
-# define POPPLER_QT4_EXPORT LIB_IMPORT
+# define POPPLER_QT4_EXPORT _POPPLER_QT4_LIB_IMPORT
#endif