summary refs log tree commit diff
path: root/src/liboutils/include/tzfile.h
blob: 6a69a9bb6f8ededd28f3aa0f2d86ad332573cdf2 (plain) (blame)
1
2
3
4
5
6
7
#include <time.h>
#include <sys/types.h>

#define SECSPERDAY 24*60*60
#define TM_YEAR_BASE 1900

#define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))