mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
9 lines
265 B
C
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) */
|