ppc64: fix PRI__64 macro definition when compiled with -m32
* kernel_types.h [SIZEOF_LONG != 4]: Check for __powerpc64__ instead of POWERPC to handle -m32 case properly.
This commit is contained in:
parent
5b9de7b081
commit
c8a294a585
@ -76,7 +76,7 @@ typedef struct {
|
||||
*/
|
||||
#if SIZEOF_LONG == 4
|
||||
# define PRI__64 "ll"
|
||||
#elif defined ALPHA || defined IA64 || defined POWERPC \
|
||||
#elif defined ALPHA || defined IA64 || defined __powerpc64__ \
|
||||
|| (defined MIPS && !defined __ANDROID__)
|
||||
# define PRI__64 "l"
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user