projects
/
platform
/
upstream
/
libevent.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.1.10
[platform/upstream/libevent.git]
/
cmake
/
CheckFileOffsetBits.c
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
}