Skip to content

Commit bd2c651

Browse files
Fix build on macos
1 parent 5a20b78 commit bd2c651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python-zstd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ static PyMethodDef ZstdMethods[] = {
719719
{"ZSTD_version_compiled", py_zstd_library_version_compiled, METH_NOARGS, NULL},
720720
{"ZSTD_version_loaded", py_zstd_library_version_loaded, METH_NOARGS, NULL},
721721
{"ZSTD_version_number", py_zstd_library_version_int, METH_NOARGS, ZSTD_INT_VERSION_DOCSTRING},
722-
{"ZSTD_threads_count", py_zstd_cpu_count_sysconf, METH_NOARGS, ZSTD_THREADS_COUNT_DOCSTRING},
722+
{"ZSTD_threads_count", py_zstd_threads_count, METH_NOARGS, ZSTD_THREADS_COUNT_DOCSTRING},
723723
#if defined(__linux__)
724724
{"ZSTD_cpu_count_sysconf", py_zstd_cpu_count_sysconf, METH_NOARGS, ZSTD_THREADS_COUNT_DOCSTRING},
725725
{"ZSTD_cpu_count_cpuinfo", py_zstd_cpu_count_cpuinfo, METH_NOARGS, ZSTD_THREADS_COUNT_DOCSTRING},

0 commit comments

Comments
 (0)