diff options
Diffstat (limited to 'packages/webkit/files')
-rw-r--r-- | packages/webkit/files/qt-api-changes.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/webkit/files/qt-api-changes.diff b/packages/webkit/files/qt-api-changes.diff new file mode 100644 index 0000000000..16f448b017 --- /dev/null +++ b/packages/webkit/files/qt-api-changes.diff @@ -0,0 +1,27 @@ +Index: WebKit/qt/Api/qwebkitglobal.h +=================================================================== +--- WebKit/qt/Api/qwebkitglobal.h (revision 26079) ++++ WebKit/qt/Api/qwebkitglobal.h (working copy) +@@ -25,15 +25,13 @@ + #include <qglobal.h> + + #if defined(Q_OS_WIN) +-# if defined(BUILD_WEBKIT) +-# define QWEBKIT_EXPORT Q_DECL_EXPORT +-# else +-# define QWEBKIT_EXPORT Q_DECL_IMPORT +-# endif ++ #ifdef BUILD_WEBKIT ++ #define QWEBKIT_EXPORT __declspec(dllexport) ++ #else ++ #define QWEBKIT_EXPORT __declspec(dllimport) ++ #endif ++#else ++ #define QWEBKIT_EXPORT __attribute__((visibility("default"))) + #endif + +-#if !defined(QWEBKIT_EXPORT) +-#define QWEBKIT_EXPORT Q_DECL_EXPORT +-#endif +- + #endif // QWEBKITGLOBAL_H |