+1999-12-24 Wichert Akkerman <wakkerma@debian.org>
+
+ * file.c: protect printstat64 with STAT64 instead of linux so we can
+ compile on Linux architectures that don't have it
+
+Fri Dec 24 18:05:00 EST 1999
+
1999-12-23 Ulrich Drepper <drepper@cygnus.com>
* file.c: Use ugly libc_stat trick also for stat64.
realprintstat(tcp, &statbuf);
}
-#ifdef linux
+#ifdef STAT64
static void
printstat64(tcp, addr)
struct tcb *tcp;
else
tprintf("...}");
}
+#endif /* STAT64 */
+#ifdef linux
static void
convertoldstat(oldbuf, newbuf)
const struct __old_kernel_stat *oldbuf;
newbuf->st_blksize=0; /* not supported in old_stat */
newbuf->st_blocks=0; /* not supported in old_stat */
}
-#endif
-#ifdef linux
static void
printoldstat(tcp, addr)
struct tcb *tcp;
#elif defined (POWERPC)
#define LOOP 0x0000feeb
#elif defined(ARM)
-#define LOOP -1 /* almost certainly wrong, jws */
+#define LOOP 0xfeffffea
#elif defined(MIPS)
#define LOOP 0x1000ffff
#elif defined(S390)