File tree Expand file tree Collapse file tree 3 files changed +9
-64
lines changed Expand file tree Collapse file tree 3 files changed +9
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 614
614
AS_IF ( [ test "x$enable_hardware_atomics" != xno] ,
615
615
[ QTHREAD_CHECK_ATOMICS($sizeof_aligned_t)] )
616
616
QTHREAD_VAMACROS
617
- QTHREAD_CHECK_BITFIELDS
618
617
619
618
QTHREAD_MALLOC_ATTRIBUTE
620
619
QTHREAD_UNUSED_ATTRIBUTE
Original file line number Diff line number Diff line change 29
29
/* Allow functions to be inlined */
30
30
#undef QINLINE
31
31
32
- /* Define if bitfields are in forward order */
33
- #undef BITFIELD_ORDER_FORWARD
34
-
35
- /* Define if bitfields are in reverse order */
36
- #undef BITFIELD_ORDER_REVERSE
32
+ #ifndef __powerpc
33
+ #define BITFIELD_ORDER_REVERSE
34
+ #else
35
+ // ARM processors can technically change modes between
36
+ // big-endian and little-endian which also reverses the
37
+ // bitfield order. The overwhelming majority of the time
38
+ // they're run in little-endian mode though.
39
+ #define BITFIELD_ORDER_FORWARD
40
+ #endif
37
41
38
42
/* The size of `void*', as computed by sizeof. */
39
43
#undef SIZEOF_VOIDP
You can’t perform that action at this time.
0 commit comments