projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
87c6899
)
fix warning on Windows
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 13 Sep 2010 11:15:36 +0000
(11:15 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 13 Sep 2010 11:15:36 +0000
(11:15 +0000)
System/CPUTime.hsc
patch
|
blob
|
history
diff --git
a/System/CPUTime.hsc
b/System/CPUTime.hsc
index
5a7e696
..
f050a68
100644
(file)
--- a/
System/CPUTime.hsc
+++ b/
System/CPUTime.hsc
@@
-33,7
+33,9
@@
import CPUTime ( getCPUTime, cpuTimePrecision )
#ifdef __GLASGOW_HASKELL__
import Foreign hiding (unsafePerformIO)
import Foreign.C
+#if !defined(CLK_TCK)
import System.IO.Unsafe (unsafePerformIO)
+#endif
#include "HsBaseConfig.h"