Declare ctime_r on Mac OS
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Thu, 6 Sep 2007 00:16:13 +0000 (00:16 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Thu, 6 Sep 2007 00:16:13 +0000 (00:16 +0000)
commit224a7fa07de24c67f52bc613f31ae1bf453cd7b8
treead942e2940d717ba576632a7124bb5dbd473c5c6
parenteeb635d0ed2346568e312ac06ce7f2f1ecb434be
Declare ctime_r on Mac OS

On Mac OS, ctime_r is not declared in time.h if _POSIX_C_SOURCE is defined. We
work around this by providing a declaration ourselves.
configure.ac
rts/RtsUtils.c