Turn off sparse mode for OS X by default
This commit is contained in:
1 parent
6476c51b86
commit
96fe545a18
3 files changed
+15
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user