This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update to the latest version of the y2038 code.
[perl5.git] / localtime64.h
CommitLineData
a272e669
MS
1#include <time.h>
2
3#ifndef LOCALTIME64_H
4# define LOCALTIME64_H
5
9af24521
MS
6/* Configuration. */
7/* Define as appropriate for your system */
8/*
9 HAS_TIMEGM
10 Defined if your system has timegm()
a272e669 11
9af24521
MS
12 HAS_TM_TM_GMTOFF
13 Defined if your tm struct has a "tm_gmtoff" element.
14
15 HAS_TM_TM_ZONE
16 Defined if your tm struct has a "tm_zone" element.
17*/
18
19
20/* 64 bit types. Set as appropriate for your system. */
21typedef Quad_t Time64_T;
22typedef Quad_t Int64;
23
24struct tm *gmtime64_r (const Time64_T *, struct tm *);
25struct tm *localtime64_r (const Time64_T *, struct tm *);
a272e669
MS
26
27#endif