aboutsummaryrefslogtreecommitdiff
path: root/cmake/LargeFileOffsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/LargeFileOffsets.c')
-rw-r--r--cmake/LargeFileOffsets.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/LargeFileOffsets.c b/cmake/LargeFileOffsets.c
new file mode 100644
index 00000000..cbc20f0d
--- /dev/null
+++ b/cmake/LargeFileOffsets.c
@@ -0,0 +1,11 @@
+#include <sys/types.h>
+#define _K ((off_t)1024)
+#define _M ((off_t)1024 * _K)
+#define _G ((off_t)1024 * _M)
+#define _T ((off_t)1024 * _G)
+
+int test[(((64 * _G -1) % 671088649) == 268434537) && (((_T - (64 * _G -1) + 255) % 1792151290) == 305159546)? 1: -1];
+
+int main() {
+ return 0;
+} \ No newline at end of file