CLK_TCK is not always a constant
|Reported by:||singpolyma||Owned by:|
|Type of failure:||Building GHC failed||Test Case:|
|Related Tickets:||Differential Rev(s):|
System/CPUTime.hsc assumes that if CLK_TCK is defined, it is a constant, but on QNX it expands to a procedure call. The attached patch is one way to solve this problem.