Complicate the lseek64() function prototype because some systems

don't have off64_t.
This commit is contained in:
Wayne Davison committed 2005-09-03 16:56:53 +00:00
1 parent fed1f3f4fe
commit f853b777be
1 file changed
+4
+4
View File
@@ -255,7 +255,11 @@ int do_fstat(int fd, STRUCT_STAT *st)
OFF_T do_lseek(int fd, OFF_T offset, int whence)
{
#ifdef HAVE_LSEEK64
#if !SIZEOF_OFF64_T
OFF_T lseek64();
#else
off64_t lseek64();
#endif
return lseek64(fd, offset, whence);
#else
return lseek(fd, offset, whence);