aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-08-26 19:05:48 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-08-26 19:05:48 +0000
commita4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc (patch)
treed60724f24db6bbe87fdca1a5220525f2de6672b5 /newlib
parent90b65e2d06b900f3d282515d2d0f7113a56eca99 (diff)
downloadnewlib-a4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc.zip
newlib-a4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc.tar.gz
newlib-a4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc.tar.bz2
2002-08-26 Wu Yongwei <adah@netstd.com>
* time.h (timezonevar): Change "#if" to "#ifdef".
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 7007af8..2e63800 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 1ff5b82..53e3c4e 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