* times.cc: Define __timezonefunc__ before including time.h to protect

definition of timezone function.
This commit is contained in:
Corinna Vinschen 2007-07-04 10:43:29 +00:00
parent 0d9cddc377
commit c467d17e7c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View 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>