Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-08-26 23:05:48 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-08-26 23:05:48 +0400
commita4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc (patch)
treed60724f24db6bbe87fdca1a5220525f2de6672b5 /newlib
parent90b65e2d06b900f3d282515d2d0f7113a56eca99 (diff)
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 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