From 04f670ac098e07fe1cf5770d0d77e77f3b756a6b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 23 Mar 2016 10:06:12 +0000 Subject: libevent moved to libs folder telegram not compiled yet git-svn-id: http://svn.miranda-ng.org/main/trunk@16524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/libevent/docs/cmake/CheckFileOffsetBits.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libs/libevent/docs/cmake/CheckFileOffsetBits.c (limited to 'libs/libevent/docs/cmake/CheckFileOffsetBits.c') diff --git a/libs/libevent/docs/cmake/CheckFileOffsetBits.c b/libs/libevent/docs/cmake/CheckFileOffsetBits.c new file mode 100644 index 0000000000..d948fecf2b --- /dev/null +++ b/libs/libevent/docs/cmake/CheckFileOffsetBits.c @@ -0,0 +1,14 @@ +#include + +#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; +} -- cgit v1.2.3