PKGBUILDs/qt5-webkit/mingw-w64/qt5-qtwebkit-workaround-bui...

22 lines
631 B
Diff

--- Source/WebKit/qt/Api/qwebkitglobal.h.orig 2013-01-06 19:14:49.225087412 +0100
+++ Source/WebKit/qt/Api/qwebkitglobal.h 2013-01-06 19:15:02.498182976 +0100
@@ -24,7 +24,6 @@
#include <QtCore/qglobal.h>
#include <QtCore/qstring.h>
-#ifndef QT_STATIC
# if !defined(QT_BUILD_WEBKITWIDGETS_LIB) && defined(BUILDING_WEBKIT)
# define QWEBKIT_EXPORT Q_DECL_EXPORT
# else
@@ -37,10 +36,6 @@
# else
# define QWEBKITWIDGETS_EXPORT Q_DECL_IMPORT
# endif
-#else
-# define QWEBKITWIDGETS_EXPORT
-# define QWEBKIT_EXPORT
-#endif
QWEBKIT_EXPORT QString qWebKitVersion();
QWEBKIT_EXPORT int qWebKitMajorVersion();