diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-27 15:19:19 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-11-04 18:21:56 (GMT) |
commit | 2a9596d85a6c44fe1eba98447ab95ca913f10e29 (patch) | |
tree | af0b56c9c160c2e5dbae190ecac1b89b320283e9 /src/3rdparty | |
parent | 914d5847532a85a564a5df4a2bc8bdccb0f91abb (diff) | |
download | Qt-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
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/webkit/WebCore/platform/FileSystem.h | 11 |
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; |