patch applied (ghc): Check with sysconf _POSIX_THREAD_CPUTIME is available before we try to use it.

Ian Lynagh <[email protected]> Mon, 15 Jan 2007 17:32:46 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070116013246.GA27610__37563.0795643248$1168911180$gmane$org@cvs.haskell.org>
Mon Jan 15 17:29:07 PST 2007  Ian Lynagh <[email protected]>
  * Check with sysconf _POSIX_THREAD_CPUTIME is available before we try to use it.
  
  Calling clock_gettime(CLOCK_THREAD_CPUTIME_ID,_) regardless was
  causing a segfault (trac #1030).

    M ./rts/posix/GetTime.c -9 +11