OSDN Git Service

* times.cc: Define __timezonefunc__ before including time.h to protect
authorcorinna <corinna>
Wed, 4 Jul 2007 10:43:28 +0000 (10:43 +0000)
committercorinna <corinna>
Wed, 4 Jul 2007 10:43:28 +0000 (10:43 +0000)
definition of timezone function.

winsup/cygwin/ChangeLog
winsup/cygwin/times.cc

index 3707a8a..1aa1eaf 100644 (file)
@@ -1,5 +1,10 @@
 2007-07-04  Corinna Vinschen  <corinna@vinschen.de>
 
+       * times.cc: Define __timezonefunc__ before including time.h to protect
+       definition of timezone function.
+
+2007-07-04  Corinna Vinschen  <corinna@vinschen.de>
+
        * include/cygwin/time.h: Switch to timezone variable by default.  Add
        comment.
 
index 5fb2cf9..336a649 100644 (file)
@@ -10,6 +10,7 @@ Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
 details. */
 
 #include "winsup.h"
+#define __timezonefunc__
 #include <time.h>
 #include <sys/times.h>
 #include <sys/timeb.h>