From: Andrew Tridgell Date: Wed, 6 May 1998 08:01:00 +0000 (+0000) Subject: don't need off64_t code on systems where off_t is already 64 bits X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/fa37d4bbafd09abfe90641fa66111888cae58df0 don't need off64_t code on systems where off_t is already 64 bits --- diff --git a/configure.in b/configure.in index 14d80565..6e090e53 100644 --- a/configure.in +++ b/configure.in @@ -59,7 +59,7 @@ echo no) echo $ac_n "checking for off64_t ... $ac_c" AC_TRY_RUN([#include #include -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)