From e4f00479f278ad00f317db7e3a987ecb29da6b0f Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 13 Sep 2010 11:15:36 +0000 Subject: [PATCH 1/1] fix warning on Windows --- System/CPUTime.hsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System/CPUTime.hsc b/System/CPUTime.hsc index 5a7e696..f050a68 100644 --- 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" -- 1.7.10.4