Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: webrtc/typedefs.h

Issue 2091433002: [MIPS] Fix build issue for mips64el (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 19 matching lines...) Expand all
30 #elif defined(_M_IX86) || defined(__i386__) 30 #elif defined(_M_IX86) || defined(__i386__)
31 #define WEBRTC_ARCH_X86_FAMILY 31 #define WEBRTC_ARCH_X86_FAMILY
32 #define WEBRTC_ARCH_X86 32 #define WEBRTC_ARCH_X86
33 #define WEBRTC_ARCH_32_BITS 33 #define WEBRTC_ARCH_32_BITS
34 #define WEBRTC_ARCH_LITTLE_ENDIAN 34 #define WEBRTC_ARCH_LITTLE_ENDIAN
35 #elif defined(__ARMEL__) 35 #elif defined(__ARMEL__)
36 #define WEBRTC_ARCH_ARM_FAMILY 36 #define WEBRTC_ARCH_ARM_FAMILY
37 #define WEBRTC_ARCH_32_BITS 37 #define WEBRTC_ARCH_32_BITS
38 #define WEBRTC_ARCH_LITTLE_ENDIAN 38 #define WEBRTC_ARCH_LITTLE_ENDIAN
39 #elif defined(__MIPSEL__) 39 #elif defined(__MIPSEL__)
40 #define WEBRTC_ARCH_MIPS_FAMILY
40 #if defined(__LP64__) 41 #if defined(__LP64__)
41 #define WEBRTC_ARCH_MIPS64_FAMILY 42 #define WEBRTC_ARCH_64_BITS
42 #else 43 #else
43 #define WEBRTC_ARCH_MIPS_FAMILY 44 #define WEBRTC_ARCH_32_BITS
44 #endif 45 #endif
45 #define WEBRTC_ARCH_32_BITS
46 #define WEBRTC_ARCH_LITTLE_ENDIAN 46 #define WEBRTC_ARCH_LITTLE_ENDIAN
47 #elif defined(__pnacl__) 47 #elif defined(__pnacl__)
48 #define WEBRTC_ARCH_32_BITS 48 #define WEBRTC_ARCH_32_BITS
49 #define WEBRTC_ARCH_LITTLE_ENDIAN 49 #define WEBRTC_ARCH_LITTLE_ENDIAN
50 #else 50 #else
51 #error Please add support for your architecture in typedefs.h 51 #error Please add support for your architecture in typedefs.h
52 #endif 52 #endif
53 53
54 #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN)) 54 #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))
55 #error Define either WEBRTC_ARCH_LITTLE_ENDIAN or WEBRTC_ARCH_BIG_ENDIAN 55 #error Define either WEBRTC_ARCH_LITTLE_ENDIAN or WEBRTC_ARCH_BIG_ENDIAN
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Annotate a function that will not return control flow to the caller. 102 // Annotate a function that will not return control flow to the caller.
103 #if defined(_MSC_VER) 103 #if defined(_MSC_VER)
104 #define NO_RETURN __declspec(noreturn) 104 #define NO_RETURN __declspec(noreturn)
105 #elif defined(__GNUC__) 105 #elif defined(__GNUC__)
106 #define NO_RETURN __attribute__ ((__noreturn__)) 106 #define NO_RETURN __attribute__ ((__noreturn__))
107 #else 107 #else
108 #define NO_RETURN 108 #define NO_RETURN
109 #endif 109 #endif
110 110
111 #endif // WEBRTC_TYPEDEFS_H_ 111 #endif // WEBRTC_TYPEDEFS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698