diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 13:47:23 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 13:47:23 (GMT) |
commit | 3bba55c741293dd8162e5afb9eace5e03fcff023 (patch) | |
tree | 94b181c5a6d2357cf01cdc01d01af8bc6c618d25 /programs/lz4io.c | |
parent | 7c26b038547e3a488a6cd5fe13df260b6e4d6e08 (diff) | |
download | lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.zip lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.tar.gz lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.tar.bz2 |
Fixed : Windows compilation
Added : Appveyor badge
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 |