Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/tzfile.h')
-rw-r--r--winsup/cygwin/include/tzfile.h10
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 000000000..9cce33cd1
--- /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
+