diff options
author | mauro.persano <mauro.persano@lge.com> | 2015-04-01 18:47:24 (GMT) |
---|---|---|
committer | mauro.persano <mauro.persano@lge.com> | 2015-04-01 18:47:24 (GMT) |
commit | 1d3ab5d85d8c7536111d2c2e5d64d3b887b16b8a (patch) | |
tree | 196278db1c3c8e15062012aac82df7492cbed707 /programs/lz4io.c | |
parent | 160661c7a4cbf805f4af74d2e3932a17a66e6ce7 (diff) | |
download | lz4-1d3ab5d85d8c7536111d2c2e5d64d3b887b16b8a.zip lz4-1d3ab5d85d8c7536111d2c2e5d64d3b887b16b8a.tar.gz lz4-1d3ab5d85d8c7536111d2c2e5d64d3b887b16b8a.tar.bz2 |
Cygwin has fileno, so there's no need to use _fileno.
Diffstat (limited to 'programs/lz4io.c')
-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 02e03c8..0cf6293 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -61,7 +61,7 @@ /****************************** * OS-specific Includes ******************************/ -#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) +#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32) # include <fcntl.h> /* _O_BINARY */ # include <io.h> /* _setmode, _fileno, _get_osfhandle */ # define SET_BINARY_MODE(file) _setmode(_fileno(file), _O_BINARY) |