projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0be37
)
[project @ 2004-06-12 12:13:12 by panne]
author
panne
<unknown>
Sat, 12 Jun 2004 12:13:12 +0000
(12:13 +0000)
committer
panne
<unknown>
Sat, 12 Jun 2004 12:13:12 +0000
(12:13 +0000)
timezone fix by Antony Courtney
System/Time.hsc
patch
|
blob
|
history
diff --git
a/System/Time.hsc
b/System/Time.hsc
index
3f07d47
..
4da0867
100644
(file)
--- 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 ...