diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-04 14:43:29 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-04 14:43:29 +0400 |
commit | c467d17e7c0aa05e3087c462954ee942a479c197 (patch) | |
tree | 9e6ca3fb1cd03b78768e2ec36ff61a2a698fdd61 /winsup/cygwin/times.cc | |
parent | 0d9cddc377a6594e2e970262491f3beeebd860dc (diff) |
* times.cc: Define __timezonefunc__ before including time.h to protect
definition of timezone function.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 5fb2cf997..336a649da 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -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> |