715
|
1 |
|
|
2 |
# HG changeset patch
|
|
3 |
# User Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
|
|
4 |
# Date 1392218661 18000
|
|
5 |
# Node ID 38fca44b6b86e2f12535900e2084f0378217570f
|
|
6 |
# Parent 8858624d813a6200b059590c146cf774fc16ff38
|
|
7 |
Bug 963027 - AArch64 support for WebRTC. r=derf
|
|
8 |
|
|
9 |
Index: mozilla/media/webrtc/trunk/webrtc/typedefs.h
|
|
10 |
===================================================================
|
|
11 |
--- mozilla.orig/media/webrtc/trunk/webrtc/typedefs.h
|
|
12 |
+++ mozilla/media/webrtc/trunk/webrtc/typedefs.h
|
|
13 |
@@ -113,6 +113,16 @@
|
|
14 |
#define WEBRTC_ARCH_32_BITS 1
|
|
15 |
#define WEBRTC_ARCH_BIG_ENDIAN
|
|
16 |
#define WEBRTC_BIG_ENDIAN
|
|
17 |
+#elif defined(__aarch64__)
|
|
18 |
+#define WEBRTC_ARCH_AARCH64 1
|
|
19 |
+#define WEBRTC_ARCH_64_BITS 1
|
|
20 |
+#if defined(__AARCH64EL__)
|
|
21 |
+#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
22 |
+#define WEBRTC_LITTLE_ENDIAN
|
|
23 |
+#elif defined(__AARCH64EB__)
|
|
24 |
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
25 |
+#define WEBRTC_BIG_ENDIAN
|
|
26 |
+#endif
|
|
27 |
#elif defined(__alpha__)
|
|
28 |
#define WEBRTC_ARCH_ALPHA 1
|
|
29 |
#define WEBRTC_ARCH_64_BITS 1
|