| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 #define PR_ALIGN_OF_LONG 4 | 457 #define PR_ALIGN_OF_LONG 4 |
| 458 #define PR_ALIGN_OF_INT64 8 | 458 #define PR_ALIGN_OF_INT64 8 |
| 459 #define PR_ALIGN_OF_FLOAT 4 | 459 #define PR_ALIGN_OF_FLOAT 4 |
| 460 #define PR_ALIGN_OF_DOUBLE 8 | 460 #define PR_ALIGN_OF_DOUBLE 8 |
| 461 #define PR_ALIGN_OF_POINTER 4 | 461 #define PR_ALIGN_OF_POINTER 4 |
| 462 #define PR_ALIGN_OF_WORD 4 | 462 #define PR_ALIGN_OF_WORD 4 |
| 463 | 463 |
| 464 #define PR_BYTES_PER_WORD_LOG2 2 | 464 #define PR_BYTES_PER_WORD_LOG2 2 |
| 465 #define PR_BYTES_PER_DWORD_LOG2 3 | 465 #define PR_BYTES_PER_DWORD_LOG2 3 |
| 466 | 466 |
| 467 #elif defined(__arm__) | 467 #elif defined(__ARMEL__) |
| 468 | 468 |
| 469 #define IS_LITTLE_ENDIAN 1 | 469 #define IS_LITTLE_ENDIAN 1 |
| 470 #undef IS_BIG_ENDIAN | 470 #undef IS_BIG_ENDIAN |
| 471 | 471 |
| 472 #define PR_BYTES_PER_BYTE 1 | 472 #define PR_BYTES_PER_BYTE 1 |
| 473 #define PR_BYTES_PER_SHORT 2 | 473 #define PR_BYTES_PER_SHORT 2 |
| 474 #define PR_BYTES_PER_INT 4 | 474 #define PR_BYTES_PER_INT 4 |
| 475 #define PR_BYTES_PER_INT64 8 | 475 #define PR_BYTES_PER_INT64 8 |
| 476 #define PR_BYTES_PER_LONG 4 | 476 #define PR_BYTES_PER_LONG 4 |
| 477 #define PR_BYTES_PER_FLOAT 4 | 477 #define PR_BYTES_PER_FLOAT 4 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER | 698 #define ALIGN_OF_POINTER PR_ALIGN_OF_POINTER |
| 699 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD | 699 #define ALIGN_OF_WORD PR_ALIGN_OF_WORD |
| 700 | 700 |
| 701 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 | 701 #define BYTES_PER_WORD_LOG2 PR_BYTES_PER_WORD_LOG2 |
| 702 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 | 702 #define BYTES_PER_DWORD_LOG2 PR_BYTES_PER_DWORD_LOG2 |
| 703 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 | 703 #define WORDS_PER_DWORD_LOG2 PR_WORDS_PER_DWORD_LOG2 |
| 704 | 704 |
| 705 #endif /* NO_NSPR_10_SUPPORT */ | 705 #endif /* NO_NSPR_10_SUPPORT */ |
| 706 | 706 |
| 707 #endif /* nspr_cpucfg___ */ | 707 #endif /* nspr_cpucfg___ */ |
| OLD | NEW |