summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/tzfile.h
blob: 9cce33cd170faea8f5132ab15549a7e2f1d82e9a (plain)
1
2
3
4
5
6
7
8
9
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