X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ec4d613228615e5a9cc9bc190eb78ec02aadcda0..bb851449b3a66b454122b2f04833e58c9ad11674:/time64_config.h diff --git a/time64_config.h b/time64_config.h index 6a1cd9d..0bebebb 100644 --- a/time64_config.h +++ b/time64_config.h @@ -1,5 +1,5 @@ -#ifndef TIME64_CONFIG_H -# define TIME64_CONFIG_H +#ifndef PERL_TIME64_CONFIG_H_ +# define PERL_TIME64_CONFIG_H_ /* Configuration ------------- @@ -15,10 +15,10 @@ /* INT_64_T - A 64 bit integer type to use to store time and others. + A numeric type to store time and others. Must be defined. */ -#define INT_64_T Quad_t +#define INT_64_T NV /* USE_TM64 @@ -77,9 +77,9 @@ can handle. We will use your system functions if the time falls inside these ranges. */ -#define SYSTEM_LOCALTIME_MAX CAT2(LOCALTIME_MAX,UL) -#define SYSTEM_LOCALTIME_MIN CAT2(LOCALTIME_MIN,UL) -#define SYSTEM_GMTIME_MAX CAT2(GMTIME_MAX,UL) -#define SYSTEM_GMTIME_MIN CAT2(GMTIME_MIN,UL) +#define SYSTEM_LOCALTIME_MAX CAT2(LOCALTIME_MAX,.0) +#define SYSTEM_LOCALTIME_MIN CAT2(LOCALTIME_MIN,.0) +#define SYSTEM_GMTIME_MAX CAT2(GMTIME_MAX,.0) +#define SYSTEM_GMTIME_MIN CAT2(GMTIME_MIN,.0) -#endif /* TIME64_CONFIG_H */ +#endif /* PERL_TIME64_CONFIG_H_ */