https://github.com/python/cpython/commit/bafad8518149e5fd0d62fae83676e85e409246fd commit: bafad8518149e5fd0d62fae83676e85e409246fd branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner <vstin...@python.org> date: 2025-02-28T08:19:45Z summary:
[3.13] gh-130617 : fix time_clockid_converter on DragonFlyBSD (GH-130634) (#130666) gh-130617 : fix time_clockid_converter on DragonFlyBSD (GH-130634) (cherry picked from commit e41981704f0a6adb58c3e258b4226619521ce03c) Signed-off-by: leleliu008 <leleliu...@gmail.com> Co-authored-by: leleliu008 <leleliu...@gmail.com> files: M Modules/timemodule.c diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 94260ba83f680c..49626d32fd38e1 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -187,6 +187,8 @@ time_clockid_converter(PyObject *obj, clockid_t *p) { #ifdef _AIX long long clk_id = PyLong_AsLongLong(obj); +#elif defined(__DragonFly__) + long clk_id = PyLong_AsLong(obj); #else int clk_id = PyLong_AsInt(obj); #endif _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com