xref: /freebsd/contrib/ntp/sntp/libevent/cmake/CheckFileOffsetBits.c (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1 #include <sys/types.h>
2 
3 #define KB ((off_t)1024)
4 #define MB ((off_t)1024 * KB)
5 #define GB ((off_t)1024 * MB)
6 #define TB ((off_t)1024 * GB)
7 int t2[(((64 * GB -1) % 671088649) == 268434537)
8        && (((TB - (64 * GB -1) + 255) % 1792151290) == 305159546)? 1: -1];
9 
10 int main()
11 {
12   ;
13   return 0;
14 }
15