Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``clockid_t`` in AIX is ``long long`` in both 32bit and 64bit build
4 changes: 2 additions & 2 deletions Modules/timemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ _PyTime_GetClockWithInfo(_PyTime_t *tp, _Py_clock_info_t *info)
static int
time_clockid_converter(PyObject *obj, clockid_t *p)
{
#if defined(_AIX) && (SIZEOF_LONG == 8)
long clk_id = PyLong_AsLong(obj);
#if defined(_AIX)
long long clk_id = PyLong_AsLongLong(obj);
#else
int clk_id = PyLong_AsInt(obj);
#endif
Expand Down