Overview
| Comment: | Fix a possible warning in macros.h. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | 0.5 |
| Files: | files | file ages | folders |
| SHA3-256: |
4b0f1639b43b3ababde1d93a0814379b |
| User & Date: | js on 2011-06-25 20:47:06 |
| Other Links: | branch diff | manifest | tags |
Context
|
2011-06-30
| ||
| 20:44 | Don't use _NSGetEnviron or environ on iOS. (check-in: 5af02ce36a user: js tags: 0.5) | |
|
2011-06-25
| ||
| 20:47 | Fix a possible warning in macros.h. (check-in: 4b0f1639b4 user: js tags: 0.5) | |
|
2011-06-07
| ||
| 14:10 | Small changes to OF_SETTER/OF_GETTER. (check-in: ff3d9a9225 user: js tags: 0.5) | |
Changes
Modified src/macros.h from [e25630d4fc] to [763676dccc].
| ︙ | ︙ | |||
178 179 180 181 182 183 184 | "bswap %%eax\n\t" "bswap %%edx\n\t" "xchgl %%eax, %%edx" : "=A"(i) : "0"(i) ); #else | | | | 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | "bswap %%eax\n\t" "bswap %%edx\n\t" "xchgl %%eax, %%edx" : "=A"(i) : "0"(i) ); #else i = (uint64_t)of_bswap32_nonconst((uint32_t)(i & 0xFFFFFFFF)) << 32 | of_bswap32_nonconst((uint32_t)(i >> 32)); #endif return i; } #ifdef __GNUC__ # define of_bswap16(i) \ (__builtin_constant_p(i) ? of_bswap16_const(i) : of_bswap16_nonconst(i)) |
| ︙ | ︙ |