12 lines
486 B
Diff
12 lines
486 B
Diff
--- a/c-ext/backend_c.c 2023-11-01 02:58:34.000000000 -0300
|
|
+++ b/c-ext/backend_c.c 2024-03-29 21:32:40.694372789 -0300
|
|
@@ -152,7 +152,7 @@
|
|
PyObject *features = NULL;
|
|
PyObject *feature = NULL;
|
|
unsigned zstd_ver_no = ZSTD_versionNumber();
|
|
- unsigned our_hardcoded_version = 10505;
|
|
+ unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER;
|
|
if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
|
|
zstd_ver_no != our_hardcoded_version) {
|
|
PyErr_Format(
|