[Webkit-unassigned] [Bug 145113] New: Source/WTF/wtf/Platform.h: use _ABI64 instead of _MIPS_SIM_ABI64 for mips N64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 17 19:00:02 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145113

            Bug ID: 145113
           Summary: Source/WTF/wtf/Platform.h: use _ABI64 instead of
                    _MIPS_SIM_ABI64 for mips N64
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wzssyqa at gmail.com

Index: webkit2gtk-2.8.1+dfsg1/Source/WTF/wtf/Platform.h
===================================================================
--- webkit2gtk-2.8.1+dfsg1.orig/Source/WTF/wtf/Platform.h       2015-05-03 00:05:21.000000000 +0800
+++ webkit2gtk-2.8.1+dfsg1/Source/WTF/wtf/Platform.h    2015-05-04 00:30:23.858545576 +0800
@@ -82,7 +82,7 @@

 /* CPU(MIPS) - MIPS 32-bit and 64-bit */
 #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_) || defined(__mips64))
-#if defined(_MIPS_SIM_ABI64) && (_MIPS_SIM == _MIPS_SIM_ABI64)
+#if defined(_ABI64) && (_MIPS_SIM == _ABI64)
 #define WTF_CPU_MIPS64 1
 #define WTF_MIPS_ARCH __mips64
 #else


Please replace _MIPS_SIM_ABI64 with _ABI64, as _ABI64 is much more widely used,
and is defined by compilers, while 
_MIPS_SIM_ABI64 is only defined by glibc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150518/7e5b213e/attachment.html>


More information about the webkit-unassigned mailing list