mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-05 06:54:30 -04:00
don't need off64_t code on systems where off_t is already 64 bits
This commit is contained in:
@@ -59,7 +59,7 @@ echo no)
|
||||
echo $ac_n "checking for off64_t ... $ac_c"
|
||||
AC_TRY_RUN([#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
main() { struct stat64 st; off64_t s; exit((lstat64("/dev/null", &st)==0)?0:1); }],
|
||||
main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) return 1; exit((lstat64("/dev/null", &st)==0)?0:1); }],
|
||||
echo yes;AC_DEFINE(HAVE_OFF64_T),
|
||||
echo no)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user