Skip to content

Conversation

@Mariatta
Copy link
Member

@Mariatta Mariatta commented Jun 9, 2017

(cherry picked from commit 824f687)

@Mariatta Mariatta added the docs Documentation in the Doc dir label Jun 9, 2017
@Mariatta Mariatta merged commit 3fc2fa8 into python:3.5 Jun 9, 2017
@Mariatta Mariatta deleted the backport-824f687-3.5 branch June 9, 2017 14:33
vstinner pushed a commit that referenced this pull request Jun 21, 2017
* bpo-30183: Fixes HP-UX cc compilation error in pytime.c

HP-UX does not support the CLOCK_MONOTONIC identifier, and will fail to
compile:

    "Python/pytime.c", line 723: error #2020: identifier
    "CLOCK_MONOTONIC" is undefined
          const clockid_t clk_id = CLOCK_MONOTONIC;

Add a new section for __hpux that calls 'gethrtime()' instead of
'clock_gettime()'.

* bpo-30183: Removes unnecessary return
haney added a commit to haney/cpython that referenced this pull request Dec 7, 2022
HP-UX does not support the CLOCK_MONOTONIC identifier, and will fail to
compile:

    "Python/pytime.c", line 723: error python#2020: identifier
    "CLOCK_MONOTONIC" is undefined
          const clockid_t clk_id = CLOCK_MONOTONIC;

Add a new section for __hpux that calls 'gethrtime()' instead of
'clock_gettime()'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants