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

tzfile.h « include « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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