Use the new HAVE_LSEEK64 define.
authorWayne Davison <wayned@samba.org>
Wed, 6 Apr 2005 02:08:21 +0000 (02:08 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 6 Apr 2005 02:08:21 +0000 (02:08 +0000)
syscall.c

index 5cdf052..2f73ba3 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -243,7 +243,7 @@ int do_fstat(int fd, STRUCT_STAT *st)
 
 OFF_T do_lseek(int fd, OFF_T offset, int whence)
 {
-#if SIZEOF_OFF64_T
+#ifdef HAVE_LSEEK64
        off64_t lseek64();
        return lseek64(fd, offset, whence);
 #else