summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-11-02 00:17:10 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-11-02 00:17:10 +0000
commit79dcdf5188b5da6772f96262656b7c2c714732b7 (patch)
treec8aae013ebc3d7a8074454317fd83bf4f5459705
parented618cc9c1f0018889323f9fc7d5e3e7a7b6cd1c (diff)
downloadguile-79dcdf5188b5da6772f96262656b7c2c714732b7.tar.gz
On M$-Windows `tzname[]' is known to be `_tzname[]'.
-rw-r--r--libguile/stime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libguile/stime.c b/libguile/stime.c
index 4d310071f..a8ba26b8b 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -90,6 +90,9 @@
#ifndef tzname /* For SGI. */
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
#endif
+#if defined (__MINGW32__)
+# define tzname _tzname
+#endif
#ifdef MISSING_STRPTIME_DECL
extern char *strptime ();