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 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 #define PR_ALIGN_OF_LONG 4 | 132 #define PR_ALIGN_OF_LONG 4 |
133 #define PR_ALIGN_OF_INT64 4 | 133 #define PR_ALIGN_OF_INT64 4 |
134 #define PR_ALIGN_OF_FLOAT 4 | 134 #define PR_ALIGN_OF_FLOAT 4 |
135 #define PR_ALIGN_OF_DOUBLE 4 | 135 #define PR_ALIGN_OF_DOUBLE 4 |
136 #define PR_ALIGN_OF_POINTER 4 | 136 #define PR_ALIGN_OF_POINTER 4 |
137 #define PR_ALIGN_OF_WORD 4 | 137 #define PR_ALIGN_OF_WORD 4 |
138 | 138 |
139 #define PR_BYTES_PER_WORD_LOG2 2 | 139 #define PR_BYTES_PER_WORD_LOG2 2 |
140 #define PR_BYTES_PER_DWORD_LOG2 3 | 140 #define PR_BYTES_PER_DWORD_LOG2 3 |
141 | 141 |
142 #elif defined(__arm__) | 142 #elif defined(__ARMEL__) |
143 | 143 |
144 #define IS_LITTLE_ENDIAN 1 | 144 #define IS_LITTLE_ENDIAN 1 |
145 #undef IS_BIG_ENDIAN | 145 #undef IS_BIG_ENDIAN |
146 | 146 |
147 #define PR_BYTES_PER_BYTE 1 | 147 #define PR_BYTES_PER_BYTE 1 |
148 #define PR_BYTES_PER_SHORT 2 | 148 #define PR_BYTES_PER_SHORT 2 |
149 #define PR_BYTES_PER_INT 4 | 149 #define PR_BYTES_PER_INT 4 |
150 #define PR_BYTES_PER_INT64 8 | 150 #define PR_BYTES_PER_INT64 8 |
151 #define PR_BYTES_PER_LONG 4 | 151 #define PR_BYTES_PER_LONG 4 |
152 #define PR_BYTES_PER_FLOAT 4 | 152 #define PR_BYTES_PER_FLOAT 4 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER | 237 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER |
238 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD | 238 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD |
239 | 239 |
240 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 | 240 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 |
241 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 | 241 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 |
242 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 | 242 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 |
243 | 243 |
244 #endif /* NO_NSPR_10_SUPPORT */ | 244 #endif /* NO_NSPR_10_SUPPORT */ |
245 | 245 |
246 #endif /* nspr_cpucfg___ */ | 246 #endif /* nspr_cpucfg___ */ |
OLD | NEW |