summaryrefslogtreecommitdiff
path: root/time64.h
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2009-04-25 17:51:38 -0500
committerCraig A. Berry <craigberry@mac.com>2009-04-25 18:11:55 -0500
commitd95a2ea538e6c332f36c34ca45b78d6ad93c3a1f (patch)
tree7af896a0f675ba7495ed49cb5f70ad4a26e60d65 /time64.h
parent4efe685a06ca02d3bdef0d82787eb46835ec9e7e (diff)
downloadperl-d95a2ea538e6c332f36c34ca45b78d6ad93c3a1f.tar.gz
Make time64 use NV for time_t, I32 for year, not Quad_t.
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.
Diffstat (limited to 'time64.h')
-rw-r--r--time64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/time64.h b/time64.h
index 000f1018cb..07bb33fd84 100644
--- a/time64.h
+++ b/time64.h
@@ -8,7 +8,7 @@
/* Set our custom types */
typedef INT_64_T Int64;
typedef Int64 Time64_T;
-typedef Int64 Year;
+typedef I32 Year;
/* A copy of the tm struct but with a 64 bit year */