mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-130617 : fix time_clockid_converter on DragonFlyBSD (#130634)
Signed-off-by: leleliu008 <leleliu008@gmail.com>
This commit is contained in:
parent
9211b3dabe
commit
e41981704f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue