summaryrefslogtreecommitdiff
path: root/time64_config.h
Commit message (Collapse)AuthorAgeFilesLines
* time64_config.h: #include reentr.hKarl Williamson2020-12-041-0/+2
| | | | This is so it will get any reentrant versions automatically
* Use new paradigm for hdr file double inclusion guardKarl Williamson2017-06-021-3/+3
| | | | | | | | | | We changed to use symbols not likely to be used by non-Perl code that could conflict, and which have trailing underbars, so they don't look like a regular Perl #define. See https://rt.perl.org/Ticket/Display.html?id=131110 There are many more header files which are not guarded.
* Make time64 use NV for time_t, I32 for year, not Quad_t.Craig A. Berry2009-04-251-6/+6
| | | | | | | This means it should run on anything that does not have a 64-bit integer type available but does have a double. Presumably this includes platforms that define PERL_MICRO, so we now use the same extended time implementation for everything that runs Perl.
* Use "system" gmtime in time64 on VMS so C<vmsish 'time'> pragma works.Craig A. Berry2009-02-211-2/+5
| | | | | | It's not really the system gmtime; it's the homegrown one in vms/vms.c that checks hints and does shifting between UTC and local time when requested.
* avoid confusing gcc with -2147483648H.Merijn Brand2009-02-111-4/+4
| | | | As Robin explained, -123UL will be (should be) parsed as -(123UL), which should make all compilers happy
* Update from y2038Michael G. Schwern2009-01-031-1/+1
| | | | | | Fix trailing #endif. Remove C99 macro.
* Update from y2038.Michael G. Schwern2009-01-031-0/+7
| | | | | | | | | | | Add trace code. Fix implied negative time in localtie64_r(). This fixes Windows. Put in some more tests around small negative and positive times to try and catch the above. Explain the loss of accuracy due to use of doubles in perlport.
* Update from y2038Michael G. Schwern2009-01-031-0/+75
Configuration information split out into its own header. Added files to MANIFEST Turn off USE_SYSTEM_GMTIME, ours is more reliable and possibly faster. Fix type warnings found on Windows. Remove unnecessary use of floor() and ceil().