summaryrefslogtreecommitdiffstats
path: root/programs/bench.h
diff options
context:
space:
mode:
authorTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>2015-02-14 03:48:11 (GMT)
committerTakayuki MATSUOKA <takayuki.matsuoka@gmail.com>2015-02-14 03:48:11 (GMT)
commit41b6ed3c5bc7f0c85f1bfe3abc940d9b74581e7d (patch)
tree1c51700b8513b009bbba7682739c25e40717dbc2 /programs/bench.h
parent9fd92def420879e7d5c7c9fb9a9abd2fbd54bb7a (diff)
downloadlz4-41b6ed3c5bc7f0c85f1bfe3abc940d9b74581e7d.zip
lz4-41b6ed3c5bc7f0c85f1bfe3abc940d9b74581e7d.tar.gz
lz4-41b6ed3c5bc7f0c85f1bfe3abc940d9b74581e7d.tar.bz2
Replace fseek with _fseeki64 to avoid MSVC's 2GiB barrier
Since MSVC fseek()'s SEEK_CUR mode has 2GiB barrier, our fseek() calling in program/lz4io.c/selectDecoder() will fail for large (>2GiB) .lz4 file. This commit just replace fseek with _fseeki64 by macro. Second argument is automatically casted to __int64 (signed 64bit integer). Other things are completely same.
Diffstat (limited to 'programs/bench.h')
0 files changed, 0 insertions, 0 deletions