2 #include "time64_config.h"
5 # define PERL_TIME64_H_
8 /* Set our custom types */
9 typedef INT_64_T Int64;
10 typedef Int64 Time64_T;
14 /* A copy of the tm struct but with a 64 bit year */
26 #ifdef HAS_TM_TM_GMTOFF
31 /* If glibc is defined or we are on QNX, use const.
32 * Otherwise, if we are on android, use const but
35 # if defined(__GLIBC__) || (defined(__ANDROID__) && !defined(__cplusplus)) \
36 || defined(__QNX__) || defined(__CYGWIN__)
44 /* Decide which tm struct to use */
52 /* Declare functions */
53 struct TM *Perl_gmtime64_r (const Time64_T *, struct TM *);
54 struct TM *Perl_localtime64_r (const Time64_T *, struct TM *);