blob: d825427440dadb400750d42ae72da679504a9e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ah,v 1.2 2011/03/14 00:15:32 wiz Exp $
Same as patch-ag.
https://bugs.webkit.org/show_bug.cgi?id=56247
--- WebCore/platform/text/StringHash.h.orig 2010-09-10 15:20:33.000000000 +0200
+++ WebCore/platform/text/StringHash.h 2011-03-12 13:04:40.000000000 +0100
@@ -54,7 +54,7 @@ namespace WebCore {
// FIXME: perhaps we should have a more abstract macro that indicates when
// going 4 bytes at a time is unsafe
-#if CPU(ARM) || CPU(SH4)
+#if CPU(ARM) || CPU(SH4) || CPU(PPC) || CPU(PPC64) || CPU(SPARC) || CPU(SPARC64) || CPU(MIPS)
const UChar* aChars = a->characters();
const UChar* bChars = b->characters();
for (unsigned i = 0; i != aLength; ++i) {
|