diff options
Diffstat (limited to 'winsup/cygwin/include/tzfile.h')
-rw-r--r-- | winsup/cygwin/include/tzfile.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/winsup/cygwin/include/tzfile.h b/winsup/cygwin/include/tzfile.h new file mode 100644 index 0000000..9cce33c --- /dev/null +++ b/winsup/cygwin/include/tzfile.h @@ -0,0 +1,10 @@ +#ifndef _TZFILE_H +#define _TZFILE_H + +#define SECSPERDAY (60*60*24) +#define DAYSPERNYEAR 365 +#define DAYSPERLYEAR 366 + +#define isleap(y) (((y) % 4) == 0 && ((y) % 100) != 0 || ((y) % 400) == 0) +#endif + |