summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonm <unknown>1999-03-03 17:17:05 +0000
committersimonm <unknown>1999-03-03 17:17:05 +0000
commite311d69b80d3e64a5f26afaa8e4eebd0f3be3cc6 (patch)
tree9e6550dbed2513020ceb2ba362ebde959ffc3ea6
parent6899620dbb01bd0e62a962f78e652a4f94be6bad (diff)
downloadhaskell-e311d69b80d3e64a5f26afaa8e4eebd0f3be3cc6.tar.gz
[project @ 1999-03-03 17:17:05 by simonm]
temp. hack around timezone problems on solaris.
-rw-r--r--ghc/lib/std/cbits/timezone.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/timezone.h b/ghc/lib/std/cbits/timezone.h
index 14738124e1..e1edf0d26d 100644
--- a/ghc/lib/std/cbits/timezone.h
+++ b/ghc/lib/std/cbits/timezone.h
@@ -1,7 +1,7 @@
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
- * $Id: timezone.h,v 1.7 1999/03/02 20:14:02 sof Exp $
+ * $Id: timezone.h,v 1.8 1999/03/03 17:17:05 simonm Exp $
*
* Time-zone support header
*/
@@ -43,6 +43,10 @@
*/
#endif
+#ifdef solaris2_TARGET_OS
+#undef HAVE_TIMEZONE
+#endif
+
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>