[project @ 2004-06-12 12:13:12 by panne]
authorpanne <unknown>
Sat, 12 Jun 2004 12:13:12 +0000 (12:13 +0000)
committerpanne <unknown>
Sat, 12 Jun 2004 12:13:12 +0000 (12:13 +0000)
timezone fix by Antony Courtney

System/Time.hsc

index 3f07d47..4da0867 100644 (file)
@@ -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 ...