Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/cmlibarchive/build/cmake/CheckFileOffsetBits.c
3153 views
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
16