File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -373,13 +373,13 @@ options. Valid filter IDs are as follows:
373373
374374 * :const: `!FILTER_ARM64 `
375375
376- Only works if :data: `LZMA_VERSION ` and :data: ` LZMA_RUNTIME_VERSION ` are 5.4.0 or later.
376+ Only works if :data: `LZMA_RUNTIME_VERSION ` is 5.4.0 or later.
377377
378378 .. versionadded :: 3.13
379379
380380 * :const: `!FILTER_RISCV `
381381
382- Only works if :data: `LZMA_VERSION ` and :data: ` LZMA_RUNTIME_VERSION ` are 5.6.0 or later.
382+ Only works if :data: `LZMA_RUNTIME_VERSION ` is 5.6.0 or later.
383383
384384 .. versionadded :: 3.13
385385
Original file line number Diff line number Diff line change 2525#endif
2626
2727
28+ /*
29+ * If the lzma.h we're building against is so old as not to define these, this
30+ * provides their equivalent values so that the names remain defined in Python
31+ * regardless. lzma.LZMA_RUNTIME_VERSION is exposed to Python and is what
32+ * people can use to decide if they can use them at runtime.
33+ */
2834#ifndef LZMA_FILTER_ARM64
2935#define LZMA_FILTER_ARM64 LZMA_VLI_C(0x0A)
3036#endif
You can’t perform that action at this time.
0 commit comments