[PATCH] [base] CLK_TCK issue for QNXNTO
Stephen Paul Weber
singpolyma at singpolyma.net
Wed Dec 12 01:13:33 CET 2012
Somebody claiming to be Stephen Paul Weber wrote:
>Somebody claiming to be Stephen Paul Weber wrote:
>>When I try to build base for QNXNTO (BlackBerry 10) using my
>>cross-compiler I get an error about "test_array is not of static
>>size" or similar.
>Looking up CLK_TCK in the QNXNTO time.h:
>
>/* CLK_TCK removed in 1003.1-2001 */
># define CLK_TCK _sysconf(3) /* 3 == _SC_CLK_TCK */
The attached patch solves this in a non-QNX-specific way that I think is a
good way forward, but I am of course open to any other suggestions.
--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-CLK_TCK-check-out-to-a-C-file.patch
Type: text/x-diff
Size: 2449 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20121212/4b1abce4/attachment.patch>
More information about the Cvs-ghc
mailing list