From a4421c1152045b963fc8d0c1bf8bb3aaa84d1fdc Mon Sep 17 00:00:00 2001
From: Jeff Johnston <jjohnstn@redhat.com>
Date: Mon, 26 Aug 2002 19:05:48 +0000
Subject: [PATCH] 2002-08-26  Wu Yongwei <adah@netstd.com>

        * time.h (timezonevar): Change "#if" to "#ifdef".
---
 newlib/ChangeLog           | 4 ++++
 newlib/libc/include/time.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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