diff options
author | sof <unknown> | 1999-09-12 14:26:32 +0000 |
---|---|---|
committer | sof <unknown> | 1999-09-12 14:26:32 +0000 |
commit | 61316922bb0112f8d03e1868e06b974f13213eb3 (patch) | |
tree | 69f75397b5a67bdad72b850760dd79f3c3bf6d9a /ghc/lib/std/cbits/timezone.c | |
parent | 2507462b118dab9fd9a79f90d3f878d1102d9ca2 (diff) | |
download | haskell-61316922bb0112f8d03e1868e06b974f13213eb3.tar.gz |
[project @ 1999-09-12 14:26:32 by sof]
Let's try again - added get_ZONE(), which retrieves current
timezone string. Need to do this since cygwin doesn't initialise
its tzname[] properly (=> need to call tzset() explicitly.)
Diffstat (limited to 'ghc/lib/std/cbits/timezone.c')
-rw-r--r-- | ghc/lib/std/cbits/timezone.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/timezone.c b/ghc/lib/std/cbits/timezone.c index 1fdbcfed24..b03f2df5f3 100644 --- a/ghc/lib/std/cbits/timezone.c +++ b/ghc/lib/std/cbits/timezone.c @@ -1,7 +1,7 @@ /* * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998 * - * $Id: timezone.c,v 1.3 1999/09/12 14:23:52 sof Exp $ + * $Id: timezone.c,v 1.4 1999/09/12 14:26:32 sof Exp $ * * Timezone Runtime Support */ @@ -40,6 +40,7 @@ get_ZONE (StgAddr x) * unless tzset() is called, so better do it here. */ tzset(); + #endif return (ZONE(x)); } |