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-04 18:21:56 (GMT)
commit2a9596d85a6c44fe1eba98447ab95ca913f10e29 (patch)
treeaf0b56c9c160c2e5dbae190ecac1b89b320283e9
parent914d5847532a85a564a5df4a2bc8bdccb0f91abb (diff)
downloadQt-2a9596d85a6c44fe1eba98447ab95ca913f10e29.zip
Qt-2a9596d85a6c44fe1eba98447ab95ca913f10e29.tar.gz
Qt-2a9596d85a6c44fe1eba98447ab95ca913f10e29.tar.bz2
Re-apply change 62923e7edacf6a1d28accaff70cbdc0176890d62 by Joerg Bornemann
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;