diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2016-01-10 15:39:41 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2016-01-10 15:39:41 (GMT) |
commit | b8abffc394447236d13ec362d2689404acaa3c63 (patch) | |
tree | f646342f877bf7194f7e51cd2861fc90a89bd8f7 | |
parent | 62bbd102fc24a344f175f126660a72348aac8eff (diff) | |
parent | 14b40fb6d713211132524f6245d128bbb75a6f15 (diff) | |
download | lz4-b8abffc394447236d13ec362d2689404acaa3c63.zip lz4-b8abffc394447236d13ec362d2689404acaa3c63.tar.gz lz4-b8abffc394447236d13ec362d2689404acaa3c63.tar.bz2 |
Merge pull request #181 from kou/fix-build-failure-on-mingw
Fix build error on MinGW
-rw-r--r-- | programs/lz4io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index 14bbf0e..e4823dc 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -66,7 +66,7 @@ # include <io.h> /* _setmode, _fileno, _get_osfhandle */ # if !defined(__DJGPP__) # define SET_BINARY_MODE(file) { int unused=_setmode(_fileno(file), _O_BINARY); (void)unused; } -# include <Windows.h> /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */ +# include <windows.h> /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */ # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(file)), FSCTL_SET_SPARSE, 0, 0, 0, 0, &dw, 0); } # if defined(_MSC_VER) && (_MSC_VER >= 1400) /* Avoid MSVC fseek()'s 2GiB barrier */ # define fseek _fseeki64 |