newlib-cygwin/winsup/cygwin/include/tzfile.h

11 lines
205 B
C
Raw Normal View History

2000-02-18 03:38:33 +08:00
#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