xref: /netbsd-src/external/bsd/ntp/dist/sntp/libevent/cmake/CheckFileOffsetBits.c (revision f8cf1a9151c7af1cb0bd8b09c13c66bca599c027)
1 /*	$NetBSD: CheckFileOffsetBits.c,v 1.2 2024/08/18 20:47:22 christos Exp $	*/
2 
3 #include <sys/types.h>
4 
5 #define KB ((off_t)1024)
6 #define MB ((off_t)1024 * KB)
7 #define GB ((off_t)1024 * MB)
8 #define TB ((off_t)1024 * GB)
9 int t2[(((64 * GB -1) % 671088649) == 268434537)
10        && (((TB - (64 * GB -1) + 255) % 1792151290) == 305159546)? 1: -1];
11 
12 int main()
13 {
14   ;
15   return 0;
16 }
17