mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
8
include/tzfile.h
Normal file
8
include/tzfile.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/* 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) */
|
||||
Reference in New Issue
Block a user