diff options
author | Chris Robinson <[email protected]> | 2014-08-05 05:05:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-08-05 05:05:05 -0700 |
commit | 951870b18978eab89391f43c3c5b85e0700eb198 (patch) | |
tree | 08b1ed3bd32ac06786d795f4215cd748e0ad2fd3 /cmake/CheckFileOffsetBits.c | |
parent | bda39c5038e67bdad0c39a3c311136167aad3d15 (diff) |
Enable large file support
Diffstat (limited to 'cmake/CheckFileOffsetBits.c')
-rw-r--r-- | cmake/CheckFileOffsetBits.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/CheckFileOffsetBits.c b/cmake/CheckFileOffsetBits.c new file mode 100644 index 00000000..de98296e --- /dev/null +++ b/cmake/CheckFileOffsetBits.c @@ -0,0 +1,9 @@ +#include <sys/types.h> + +#define KB ((off_t)(1024)) +#define MB ((off_t)(KB*1024)) +#define GB ((off_t)(MB*1024)) +int tb[((GB+GB+GB) > GB) ? 1 : -1]; + +int main() +{ return 0; } |