summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/time.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7007af8aa..2e6380081 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-26 Wu Yongwei <adah@netstd.com>
+
+ * time.h (timezonevar): Change "#if" to "#ifdef".
+
2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index 1ff5b828d..53e3c4e89 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -109,7 +109,7 @@ extern __IMPORT char *_tzname[2];
#ifndef daylight
#define daylight _daylight
#endif
-#if timezonevar
+#ifdef timezonevar
#ifndef timezone
#define timezone ((long int) _timezone)
#endif