summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-27 15:19:19 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-11 16:06:51 (GMT)
commit26906adb699638f54dcdcb4835514765736992fe (patch)
tree4cb0fcfd20370a145cfedc6ec78f5750262361dc
parent570e173f4b6dbe755554d36a26ae23ccb6c58693 (diff)
downloadQt-26906adb699638f54dcdcb4835514765736992fe.zip
Qt-26906adb699638f54dcdcb4835514765736992fe.tar.gz
Qt-26906adb699638f54dcdcb4835514765736992fe.tar.bz2
Re-apply change 2a9596d85a6c44fe1eba98447ab95ca913f10e29 by Joerg Bornemann
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;