MozillaFirefox/mozilla-aarch64-bmo-963031.patch

31 lines
895 B
Diff
Raw Normal View History

# HG changeset patch
# User Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
# Date 1390828707 18000
# Node ID 01c406c513473eef5c98940ba8d3040c456044d8
# Parent b781647898f4a82e6cdeeb907ebbc402545698db
Bug 963031 - AArch support for Graphics. r=doublec
diff --git a/gfx/ycbcr/chromium_types.h b/gfx/ycbcr/chromium_types.h
--- a/gfx/ycbcr/chromium_types.h
+++ b/gfx/ycbcr/chromium_types.h
@@ -41,13 +41,17 @@ typedef uint32_t uint32;
#elif defined(__sparc)
#define ARCH_CPU_SPARC_FAMILY 1
#define ARCH_CPU_SPARC 1
#define ARCH_CPU_32_BITS 1
#elif defined(__sparcv9)
#define ARCH_CPU_SPARC_FAMILY 1
#define ARCH_CPU_SPARC 1
#define ARCH_CPU_64_BITS 1
+#elif defined(__aarch64__)
+#define ARCH_CPU_AARCH64_FAMILY 1
+#define ARCH_CPU_AARCH64 1
+#define ARCH_CPU_64_BITS 1
#else
#warning Please add support for your architecture in chromium_types.h
#endif
#endif // GFX_CHROMIUMTYPES_H