Add cbits/timeUtils.c back to the repo.
authorIan Lynagh <igloo@earth.li>
Thu, 24 May 2007 15:14:40 +0000 (15:14 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 24 May 2007 15:14:40 +0000 (15:14 +0000)
Not sure how this one disappeared either.

cbits/timeUtils.c [new file with mode: 0644]

diff --git a/cbits/timeUtils.c b/cbits/timeUtils.c
new file mode 100644 (file)
index 0000000..aa04d9c
--- /dev/null
@@ -0,0 +1,15 @@
+/* 
+ * (c) The University of Glasgow 2002
+ *
+ * Time Runtime Support
+ */
+#include "HsTime.h"
+
+#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32) /* to the end */
+
+long *__hscore_timezone( void )
+{ return &_timezone; }
+
+char **__hscore_tzname( void )
+{ return _tzname; }
+#endif