cvs commit: fptools/ghc/lib/std CPUTime.hsc
qrczak@glass.cse.ogi.edu
qrczak@glass.cse.ogi.edu
Tue, 8 May 2001 10:33:57 -0700
qrczak 2001/05/08 10:33:57 PDT
Modified files:
ghc/lib/std CPUTime.hsc
Log:
Fix typo when times() is used.
Move foreign imports inside appropriate #ifdefs.
A small problem remained (besides Win32): For hpux getrusage is defined
here as a macro, and foreign importing a macro relies on compilation
via C. Should be wrapped in a function, but I'm not sure if it's safe
to call it getrusage.
Revision Changes Path
1.2 +9 -6 fptools/ghc/lib/std/CPUTime.hsc