confused an ifdef with an if
--HG-- extra : convert_revision : 5b8e8bdff5813cf8846e66de2652246d77c97e88
This commit is contained in:
parent
a86a3fa525
commit
ac6240896e
1 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ fstat64Func(SyscallDesc *desc, int callnum, Process *process,
|
|||
return -EBADF;
|
||||
}
|
||||
|
||||
#ifdef BSD_HOST
|
||||
#if BSD_HOST
|
||||
struct stat hostBuf;
|
||||
int result = fstat(process->sim_fd(fd), &hostBuf);
|
||||
#else
|
||||
|
@ -494,7 +494,7 @@ lstat64Func(SyscallDesc *desc, int callnum, Process *process,
|
|||
if (xc->mem->readString(path, xc->getSyscallArg(0)) != No_Fault)
|
||||
return -EFAULT;
|
||||
|
||||
#ifdef BSD_HOST
|
||||
#if BSD_HOST
|
||||
struct stat hostBuf;
|
||||
int result = lstat(path.c_str(), &hostBuf);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue