| OLD | NEW |
| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 #define PR_BITS_PER_INT_LOG2 5 | 241 #define PR_BITS_PER_INT_LOG2 5 |
| 242 #define PR_BITS_PER_INT64_LOG2 6 | 242 #define PR_BITS_PER_INT64_LOG2 6 |
| 243 #define PR_BITS_PER_LONG_LOG2 5 | 243 #define PR_BITS_PER_LONG_LOG2 5 |
| 244 #define PR_BITS_PER_FLOAT_LOG2 5 | 244 #define PR_BITS_PER_FLOAT_LOG2 5 |
| 245 #define PR_BITS_PER_DOUBLE_LOG2 6 | 245 #define PR_BITS_PER_DOUBLE_LOG2 6 |
| 246 #define PR_BITS_PER_WORD_LOG2 5 | 246 #define PR_BITS_PER_WORD_LOG2 5 |
| 247 | 247 |
| 248 #define PR_ALIGN_OF_SHORT 2 | 248 #define PR_ALIGN_OF_SHORT 2 |
| 249 #define PR_ALIGN_OF_INT 4 | 249 #define PR_ALIGN_OF_INT 4 |
| 250 #define PR_ALIGN_OF_LONG 4 | 250 #define PR_ALIGN_OF_LONG 4 |
| 251 #define PR_ALIGN_OF_INT64 4 | 251 #define PR_ALIGN_OF_INT64 8 |
| 252 #define PR_ALIGN_OF_FLOAT 4 | 252 #define PR_ALIGN_OF_FLOAT 4 |
| 253 #define PR_ALIGN_OF_DOUBLE 4 | 253 #define PR_ALIGN_OF_DOUBLE 8 |
| 254 #define PR_ALIGN_OF_POINTER 4 | 254 #define PR_ALIGN_OF_POINTER 4 |
| 255 #define PR_ALIGN_OF_WORD 4 | 255 #define PR_ALIGN_OF_WORD 4 |
| 256 | 256 |
| 257 #define PR_BYTES_PER_WORD_LOG2 2 | 257 #define PR_BYTES_PER_WORD_LOG2 2 |
| 258 #define PR_BYTES_PER_DWORD_LOG2 3 | 258 #define PR_BYTES_PER_DWORD_LOG2 3 |
| 259 | 259 |
| 260 #else | 260 #else |
| 261 | 261 |
| 262 #define IS_LITTLE_ENDIAN 1 | 262 #define IS_LITTLE_ENDIAN 1 |
| 263 #undef IS_BIG_ENDIAN | 263 #undef IS_BIG_ENDIAN |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER | 969 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER |
| 970 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD | 970 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD |
| 971 | 971 |
| 972 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 | 972 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 |
| 973 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 | 973 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 |
| 974 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 | 974 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 |
| 975 | 975 |
| 976 #endif /* NO_NSPR_10_SUPPORT */ | 976 #endif /* NO_NSPR_10_SUPPORT */ |
| 977 | 977 |
| 978 #endif /* nspr_cpucfg___ */ | 978 #endif /* nspr_cpucfg___ */ |
| OLD | NEW |