[GHC] #11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X
GHC
ghc-devs at haskell.org
Thu Mar 24 09:51:08 UTC 2016
#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"2ddfb7573793c2a288d0979868f876af75733426/ghc" 2ddfb75/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="2ddfb7573793c2a288d0979868f876af75733426"
base: Fix ClockGetTime on OS X
Apparently _POSIX_CPUTIME may be defined as -1 if
CLOCK_PROCESS_CPUTIME_ID isn't defined.
Test Plan: Validate
Reviewers: austin, hvr, erikd, goldfire
Reviewed By: erikd, goldfire
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2028
GHC Trac Issues: #11733
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11733#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list