Fix building for mips n64 targets

* util.c (printllval): Handle LINUX_MIPSN64 define.
This commit is contained in:
Mike Frysinger 2013-05-04 01:42:54 -04:00 committed by Dmitry V. Levin
parent 8d5f11585c
commit 921744d5e7

3
util.c
View File

@ -177,7 +177,8 @@ printxval(const struct xlat *xlat, int val, const char *dflt)
int
printllval(struct tcb *tcp, const char *format, int arg_no)
{
#if defined(X86_64) || defined(POWERPC64) || defined(TILE) || defined(AARCH64)
#if defined(X86_64) || defined(POWERPC64) || defined(TILE) || defined(AARCH64) || \
defined(LINUX_MIPSN64)
if (current_personality == 0) {
/* Technically, format expects "long long",
* but we supply "long". We expect that