Overview
Comment: | Make sure OF_ENDIANESS_NATIVE is always defined. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0158f764e366ec2f960a9b1763063296 |
User & Date: | js on 2011-05-21 18:04:41 |
Other Links: | manifest | tags |
Context
2011-05-21
| ||
18:05 |
Make use of isalnum() safe in case isalnum() is a lookup table. Fixes build with Clang on NetBSD. check-in: 35fb680226 user: js tags: trunk | |
18:04 | Make sure OF_ENDIANESS_NATIVE is always defined. check-in: 0158f764e3 user: js tags: trunk | |
2011-05-19
| ||
00:47 | Add +[OFArray arrayWithArray:]. check-in: 1e249becdf user: js tags: trunk | |
Changes
Modified src/macros.h from [6f620278d4] to [d826a851e9].
︙ | ︙ | |||
47 48 49 50 51 52 53 54 55 56 57 58 59 60 | # if __BIG_ENDIAN__ && __LITTLE_ENDIAN__ # error __BIG_ENDIAN__ and __LITTLE_ENDIAN__ defined! # endif # undef OF_BIG_ENDIAN # if __BIG_ENDIAN__ # define OF_BIG_ENDIAN # define OF_ENDIANESS_NATIVE OF_ENDIANESS_BIG_ENDIAN # else # define OF_ENDIANESS_NATIVE OF_ENDIANESS_LITTLE_ENDIAN # endif #endif #ifdef __GNUC__ # if defined(__amd64__) || defined(__x86_64__) | > > > > > > | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | # if __BIG_ENDIAN__ && __LITTLE_ENDIAN__ # error __BIG_ENDIAN__ and __LITTLE_ENDIAN__ defined! # endif # undef OF_BIG_ENDIAN # if __BIG_ENDIAN__ # define OF_BIG_ENDIAN # define OF_ENDIANESS_NATIVE OF_ENDIANESS_BIG_ENDIAN # else # define OF_ENDIANESS_NATIVE OF_ENDIANESS_LITTLE_ENDIAN # endif #else # ifdef OF_BIG_ENDIAN # define OF_ENDIANESS_NATIVE OF_ENDIANESS_BIG_ENDIAN # else # define OF_ENDIANESS_NATIVE OF_ENDIANESS_LITTLE_ENDIAN # endif #endif #ifdef __GNUC__ # if defined(__amd64__) || defined(__x86_64__) |
︙ | ︙ |