summaryrefslogtreecommitdiff
path: root/libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2023-12-17 16:55:58 +0100
committerTomas Bzatek <tbzatek@redhat.com>2023-12-17 16:55:58 +0100
commitb22a4476a66a913a07d5e80334c0400a9b162206 (patch)
treed896eb5f6f9212b5ef424219c45571ce5f152cc0 /libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c
parent7592788feb1a8cb79b85e6a9911a206a5d55896d (diff)
downloadtuxcmd-modules-b22a4476a66a913a07d5e80334c0400a9b162206.tar.xz
libarchive: Remove in-tree libarchive package
Libarchive has become a standard package in most distributions, no need to carry the sources along here.
Diffstat (limited to 'libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c')
-rw-r--r--libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c b/libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c
deleted file mode 100644
index d948fec..0000000
--- a/libarchive/libarchive-2.8.0/build/cmake/CheckFileOffsetBits.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <sys/types.h>
-
-#define KB ((off_t)1024)
-#define MB ((off_t)1024 * KB)
-#define GB ((off_t)1024 * MB)
-#define TB ((off_t)1024 * GB)
-int t2[(((64 * GB -1) % 671088649) == 268434537)
- && (((TB - (64 * GB -1) + 255) % 1792151290) == 305159546)? 1: -1];
-
-int main()
-{
- ;
- return 0;
-}