mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
thirdparty.zstd: upgrade to v1.5.7 release, add the local changes to a reusable .patch file (#24611)
This commit is contained in:
parent
b84512d408
commit
a1c5f41c6b
5 changed files with 311 additions and 330 deletions
|
@ -365,7 +365,7 @@ pub fn version_number() u32 {
|
|||
return C.ZSTD_versionNumber()
|
||||
}
|
||||
|
||||
// version_string returns runtime library version, like "1.5.8".
|
||||
// version_string returns runtime library version, like "1.5.7".
|
||||
pub fn version_string() string {
|
||||
return unsafe { tos_clone(C.ZSTD_versionString()) }
|
||||
}
|
||||
|
|
4
vlib/compress/zstd/zstd_d_musl.c.v
Normal file
4
vlib/compress/zstd/zstd_d_musl.c.v
Normal file
|
@ -0,0 +1,4 @@
|
|||
module zstd
|
||||
|
||||
// As MUSL has no `qsort_r()` as GLIBC, so fallback to `qsort()`
|
||||
#flag -DZSTD_USE_C90_QSORT
|
Loading…
Add table
Add a link
Reference in a new issue