Assume "long long" availability
Most of the code already uses long long types unconditionally.
* configure.ac: Remove the check for long long.
* file.c (printstat64): Remove HAVE_LONG_LONG checks, use %llu format
string unconditionally.
diff --git a/configure.ac b/configure.ac
index 5b4c38e..62e20ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -193,7 +193,6 @@
[#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>])
-AC_CHECK_TYPES([long long])
AC_LITTLE_ENDIAN_LONG_LONG
AC_OFF_T_IS_LONG_LONG
AC_CHECK_TYPES([struct opthdr],,, [#include <sys/socket.h>])
diff --git a/file.c b/file.c
index 016fc94..6feb947 100644
--- a/file.c
+++ b/file.c
@@ -1104,18 +1104,10 @@
}
if (!abbrev(tcp)) {
-#ifdef HAVE_LONG_LONG
tprintf("{st_dev=makedev(%lu, %lu), st_ino=%llu, st_mode=%s, ",
-#else
- tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ",
-#endif
(unsigned long) major(statbuf.st_dev),
(unsigned long) minor(statbuf.st_dev),
-#ifdef HAVE_LONG_LONG
(unsigned long long) statbuf.st_ino,
-#else
- (unsigned long) statbuf.st_ino,
-#endif
sprintmode(statbuf.st_mode));
tprintf("st_nlink=%lu, st_uid=%lu, st_gid=%lu, ",
(unsigned long) statbuf.st_nlink,
@@ -1144,11 +1136,7 @@
#endif /* !HAVE_STRUCT_STAT_ST_RDEV */
break;
default:
-#ifdef HAVE_LONG_LONG
tprintf("st_size=%llu, ", (unsigned long long) statbuf.st_size);
-#else
- tprintf("st_size=%lu, ", (unsigned long) statbuf.st_size);
-#endif
break;
}
if (!abbrev(tcp)) {