summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-27 15:19:19 (GMT)
committerJocelyn Turcotte <jocelyn.turcotte@nokia.com>2009-11-03 16:21:14 (GMT)
commit62923e7edacf6a1d28accaff70cbdc0176890d62 (patch)
tree09b8307e8fbe03e6e65398d2dee2db0545f5b4ca
parent49663ed7dd5acf25462c3ecbb5799e108d1736b4 (diff)
downloadQt-62923e7edacf6a1d28accaff70cbdc0176890d62.zip
Qt-62923e7edacf6a1d28accaff70cbdc0176890d62.tar.gz
Qt-62923e7edacf6a1d28accaff70cbdc0176890d62.tar.bz2
Re-apply change fa1856bcb2eff41dadf0900202dd43f44ddb2343 by Joerg Bornemann
WebKit compile fix for Windows CE Not sure if this is right fix. We could also disable PLUGIN_PACKAGE_SIMPLE_HASH. But this is automatically enabled when NETSCAPE_PLUGIN_API is disabled. Reviewed-by: thartman
-rw-r--r--src/3rdparty/webkit/WebCore/platform/FileSystem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/FileSystem.h b/src/3rdparty/webkit/WebCore/platform/FileSystem.h
index 9952b39..791198d 100644
--- a/src/3rdparty/webkit/WebCore/platform/FileSystem.h
+++ b/src/3rdparty/webkit/WebCore/platform/FileSystem.h
@@ -98,6 +98,17 @@ struct PlatformModuleVersion {
{
}
+ bool operator != (const PlatformModuleVersion& rhs) const
+ {
+ return mostSig != rhs.mostSig && leastSig != rhs.leastSig;
+ }
+
+
+ bool operator > (const PlatformModuleVersion& rhs) const
+ {
+ return mostSig > rhs.mostSig && leastSig > rhs.leastSig;
+ }
+
};
#else
typedef unsigned PlatformModuleVersion;