This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

timezonevar in time.h


The current /usr/include/time.h requires people to use
"#define timezonevar 1" instead of just "#define timezonevar" before
including <time.h>:

--- time.h.orig	2002-07-06 14:19:00.000000000 +0800
+++ time.h	2002-08-21 21:34:32.000000000 +0800
@@ -109,7 +109,7 @@
 #ifndef daylight
 #define daylight _daylight
 #endif
-#if timezonevar
+#ifdef timezonevar
 #ifndef timezone
 #define timezone ((long int) _timezone)
 #endif

Change Log:

2002-8-21  Wu Yongwei <adah@netstd.com>

	* time.h (timezonevar): Change "#if" to "#ifdef".


Maybe I still have something wrong here, say, not diffing from the CVS
version (but I really did not find it). I am already struggling to do things
right. :-)

Best regards,

Wu Yongwei


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]