Files
BSDGames/include/tzfile.h
joey 03272d67da Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
1999-09-08 23:56:51 +00:00

9 lines
265 B
C

/* tzfile.h - bsd-games version of <tzfile.h> that defines isleap */
#ifndef LINUX_BSD_GAMES_TZFILE_H
#define LINUX_BSD_GAMES_TZFILE_H 1
#define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0)
#endif /* !defined(LINUX_BSD_GAMES_TZFILE_H) */