Mac OSX Tiger: getPageFaults
simonmar at microsoft.com
Thu Jan 5 04:43:05 EST 2006
On 18 December 2005 21:32, Joel Reymont wrote:
> ./ghc/rts/posix/GetTime.c +136
> posix/GetTime.c: In function 'getProcessElapsedTime':
> warning: passing argument 2 of 'gettimeofday' from incompatible
> pointer type
> posix/GetTime.c: In function 'getPageFaults':
> error: 'struct rusage' has no member named 'ru_majflt'
> On OSX the rusage structure is opaque if _POSIX_C_SOURCE is not
> defined. GetTime.c includes PosixSource.h, though. I don't think it
Fixed, I hope. Please let me know.
More information about the Cvs-ghc