1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Turn off sparse mode for OS X by default

This commit is contained in:
Nick Terrell
2017-03-31 15:16:43 -07:00
parent 6476c51b86
commit 96fe545a18
3 changed files with 15 additions and 0 deletions

View File

@ -138,6 +138,14 @@ static __inline int IS_CONSOLE(FILE* stdStream)
#endif
#ifndef ZSTD_SPARSE_DEFAULT
# if (defined(__APPLE__) && defined(__MACH__))
# define ZSTD_SPARSE_DEFAULT 0
# else
# define ZSTD_SPARSE_DEFAULT 1
# endif
#endif
#if defined (__cplusplus)
}