X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FTime.hsc;h=4da0867356e021b236e9406495eca840bcd5998a;hb=80b485a2eab908795d23cb09c5cc4339d539b2ea;hp=3f07d478956284108fd074355a6bf7be1f15f83d;hpb=2a0be3763d07b0796ddbfb582d95492325f60e3e;p=ghc-base.git diff --git a/System/Time.hsc b/System/Time.hsc index 3f07d47..4da0867 100644 --- a/System/Time.hsc +++ b/System/Time.hsc @@ -360,7 +360,7 @@ gmtoff x = do # else /* ! HAVE_DECL_ALTZONE */ #if !defined(mingw32_TARGET_OS) -foreign import ccall unsafe "timezone" timezone :: Ptr CLong +foreign import ccall "&timezone" timezone :: Ptr CLong #endif -- Assume that DST offset is 1 hour ...