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

Side by Side Diff: nspr/pr/include/md/_linux.cfg

Issue 407383002: Update to NSPR 4.10.7 Beta 3. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « nspr/pr/include/md/_linux.h ('k') | nspr/pr/include/pratom.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public 2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 /* 6 /*
7 * This file is used by not only Linux but also other glibc systems 7 * This file is used by not only Linux but also other glibc systems
8 * such as GNU/Hurd and GNU/k*BSD. 8 * such as GNU/Hurd and GNU/k*BSD.
9 */ 9 */
10 10
(...skipping 11 matching lines...) Expand all
22 #ifdef __FreeBSD_kernel__ 22 #ifdef __FreeBSD_kernel__
23 #define PR_AF_INET6 28 /* same as AF_INET6 */ 23 #define PR_AF_INET6 28 /* same as AF_INET6 */
24 #elif defined(__GNU__) 24 #elif defined(__GNU__)
25 #define PR_AF_INET6 26 /* same as AF_INET6 */ 25 #define PR_AF_INET6 26 /* same as AF_INET6 */
26 #else 26 #else
27 #define PR_AF_INET6 10 /* same as AF_INET6 */ 27 #define PR_AF_INET6 10 /* same as AF_INET6 */
28 #endif 28 #endif
29 29
30 #ifdef __powerpc64__ 30 #ifdef __powerpc64__
31 31
32 #ifdef __LITTLE_ENDIAN__
33 #define IS_LITTLE_ENDIAN 1
34 #undef IS_BIG_ENDIAN
35 #else
32 #undef IS_LITTLE_ENDIAN 36 #undef IS_LITTLE_ENDIAN
33 #define IS_BIG_ENDIAN 1 37 #define IS_BIG_ENDIAN 1
38 #endif
34 #define IS_64 39 #define IS_64
35 40
36 #define PR_BYTES_PER_BYTE 1 41 #define PR_BYTES_PER_BYTE 1
37 #define PR_BYTES_PER_SHORT 2 42 #define PR_BYTES_PER_SHORT 2
38 #define PR_BYTES_PER_INT 4 43 #define PR_BYTES_PER_INT 4
39 #define PR_BYTES_PER_INT64 8 44 #define PR_BYTES_PER_INT64 8
40 #define PR_BYTES_PER_LONG 8 45 #define PR_BYTES_PER_LONG 8
41 #define PR_BYTES_PER_FLOAT 4 46 #define PR_BYTES_PER_FLOAT 4
42 #define PR_BYTES_PER_DOUBLE 8 47 #define PR_BYTES_PER_DOUBLE 8
43 #define PR_BYTES_PER_WORD 8 48 #define PR_BYTES_PER_WORD 8
(...skipping 24 matching lines...) Expand all
68 #define PR_ALIGN_OF_FLOAT 4 73 #define PR_ALIGN_OF_FLOAT 4
69 #define PR_ALIGN_OF_DOUBLE 8 74 #define PR_ALIGN_OF_DOUBLE 8
70 #define PR_ALIGN_OF_POINTER 8 75 #define PR_ALIGN_OF_POINTER 8
71 #define PR_ALIGN_OF_WORD 8 76 #define PR_ALIGN_OF_WORD 8
72 77
73 #define PR_BYTES_PER_WORD_LOG2 3 78 #define PR_BYTES_PER_WORD_LOG2 3
74 #define PR_BYTES_PER_DWORD_LOG2 3 79 #define PR_BYTES_PER_DWORD_LOG2 3
75 80
76 #elif defined(__powerpc__) 81 #elif defined(__powerpc__)
77 82
83 #ifdef __LITTLE_ENDIAN__
84 #define IS_LITTLE_ENDIAN 1
85 #undef IS_BIG_ENDIAN
86 #else
78 #undef IS_LITTLE_ENDIAN 87 #undef IS_LITTLE_ENDIAN
79 #define IS_BIG_ENDIAN 1 88 #define IS_BIG_ENDIAN 1
89 #endif
80 90
81 #define PR_BYTES_PER_BYTE 1 91 #define PR_BYTES_PER_BYTE 1
82 #define PR_BYTES_PER_SHORT 2 92 #define PR_BYTES_PER_SHORT 2
83 #define PR_BYTES_PER_INT 4 93 #define PR_BYTES_PER_INT 4
84 #define PR_BYTES_PER_INT64 8 94 #define PR_BYTES_PER_INT64 8
85 #define PR_BYTES_PER_LONG 4 95 #define PR_BYTES_PER_LONG 4
86 #define PR_BYTES_PER_FLOAT 4 96 #define PR_BYTES_PER_FLOAT 4
87 #define PR_BYTES_PER_DOUBLE 8 97 #define PR_BYTES_PER_DOUBLE 8
88 #define PR_BYTES_PER_WORD 4 98 #define PR_BYTES_PER_WORD 4
89 #define PR_BYTES_PER_DWORD 8 99 #define PR_BYTES_PER_DWORD 8
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER 979 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER
970 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD 980 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD
971 981
972 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 982 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2
973 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 983 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2
974 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 984 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2
975 985
976 #endif /* NO_NSPR_10_SUPPORT */ 986 #endif /* NO_NSPR_10_SUPPORT */
977 987
978 #endif /* nspr_cpucfg___ */ 988 #endif /* nspr_cpucfg___ */
OLDNEW
« no previous file with comments | « nspr/pr/include/md/_linux.h ('k') | nspr/pr/include/pratom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698