We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1147197 commit ed10272Copy full SHA for ed10272
src/python-lz4.c
@@ -240,7 +240,9 @@ void initlz4(void)
240
241
PyModule_AddStringConstant(module, "VERSION", VERSION);
242
PyModule_AddStringConstant(module, "__version__", VERSION);
243
+#ifdef LZ4_VERSION /* Only defined if we're building against bundled lz4 */
244
PyModule_AddStringConstant(module, "LZ4_VERSION", LZ4_VERSION);
245
+#endif
246
247
#if PY_MAJOR_VERSION >= 3
248
return module;
0 commit comments