Skip to content
代码片段 群组 项目
未验证 提交 56884477 编辑于 作者: Felix Handte's avatar Felix Handte 提交者: GitHub
浏览文件

Merge pull request #1873 from felixhandte/make-overlap-log-multithread-only

Fix #1861: Restrict overlapLog Parameter When Not Built With Multithreading
No related branches found
No related tags found
无相关合并请求
......@@ -339,8 +339,13 @@ ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter param)
return bounds;
case ZSTD_c_overlapLog:
#ifdef ZSTD_MULTITHREAD
bounds.lowerBound = ZSTD_OVERLAPLOG_MIN;
bounds.upperBound = ZSTD_OVERLAPLOG_MAX;
#else
bounds.lowerBound = 0;
bounds.upperBound = 0;
#endif
return bounds;
case ZSTD_c_enableLongDistanceMatching:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册