diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 12:17:38 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 12:17:38 (GMT) |
commit | 8437a0e43aa5086ec2c23591909e118a85c3d8dd (patch) | |
tree | aab3ca7f5cd39661d53e3fbef70bdca0e5043cda /programs/lz4io.c | |
parent | eeb8bea34c2df279307eaed922f3a89cc420316c (diff) | |
download | lz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.zip lz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.tar.gz lz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.tar.bz2 |
Fixed : Visual compilation
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r-- | programs/lz4io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index 34d24bf..02e03c8 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -75,6 +75,10 @@ # define SET_SPARSE_FILE_MODE(file) #endif +#if !defined(S_ISREG) +# define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) +#endif + /***************************** * Constants |