_qnx.cfg (1703B)
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 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/. */ 5 6 #ifndef nspr_cpucfg___ 7 #define nspr_cpucfg___ 8 9 #ifndef XP_UNIX 10 #define XP_UNIX 11 #endif 12 13 #ifndef QNX 14 #define QNX 15 #endif 16 17 #define IS_LITTLE_ENDIAN 1 18 #undef IS_BIG_ENDIAN 19 #undef HAVE_LONG_LONG 20 #undef HAVE_ALIGNED_DOUBLES 21 #undef HAVE_ALIGNED_LONGLONGS 22 23 #define PR_BYTES_PER_BYTE 1 24 #define PR_BYTES_PER_SHORT 2 25 #define PR_BYTES_PER_INT 4 26 #define PR_BYTES_PER_INT64 8 27 #define PR_BYTES_PER_LONG 4 28 #define PR_BYTES_PER_FLOAT 4 29 #define PR_BYTES_PER_DOUBLE 8 30 #define PR_BYTES_PER_WORD 4 31 #define PR_BYTES_PER_DWORD 8 32 33 #define PR_BITS_PER_BYTE 8 34 #define PR_BITS_PER_SHORT 16 35 #define PR_BITS_PER_INT 32 36 #define PR_BITS_PER_INT64 64 37 #define PR_BITS_PER_LONG 32 38 #define PR_BITS_PER_FLOAT 32 39 #define PR_BITS_PER_DOUBLE 64 40 #define PR_BITS_PER_WORD 32 41 42 #define PR_BITS_PER_BYTE_LOG2 3 43 #define PR_BITS_PER_SHORT_LOG2 4 44 #define PR_BITS_PER_INT_LOG2 5 45 #define PR_BITS_PER_INT64_LOG2 6 46 #define PR_BITS_PER_LONG_LOG2 5 47 #define PR_BITS_PER_FLOAT_LOG2 5 48 #define PR_BITS_PER_DOUBLE_LOG2 6 49 #define PR_BITS_PER_WORD_LOG2 5 50 51 #define PR_ALIGN_OF_SHORT 1 52 #define PR_ALIGN_OF_INT 1 53 #define PR_ALIGN_OF_LONG 1 54 #define PR_ALIGN_OF_INT64 1 55 #define PR_ALIGN_OF_FLOAT 1 56 #define PR_ALIGN_OF_DOUBLE 1 57 #define PR_ALIGN_OF_POINTER 1 58 #define PR_ALIGN_OF_WORD 1 59 60 #define PR_BYTES_PER_WORD_LOG2 2 61 #define PR_BYTES_PER_DWORD_LOG2 3 62 #define PR_WORDS_PER_DWORD_LOG2 1 63 64 #endif /* nspr_cpucfg___ */