summaryrefslogtreecommitdiff
path: root/scriptc
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-07-27 13:47:40 -0700
committerTim Murray <timmurray@google.com>2014-08-12 18:56:09 +0000
commit64147ebf4f0b1c23d2caf2cf7c1675d27de97d99 (patch)
tree7f3988fca243ac8939145d8ee683411703ac729e /scriptc
parent1aa9dfc002f6b763d34d75d9f47abb4aa70584a2 (diff)
downloadrs-64147ebf4f0b1c23d2caf2cf7c1675d27de97d99.tar.gz
Update time_t definition for 64-bit.
bug 16846318 Change-Id: I85918485b0bd446147defeee01b57a58b4b0620c
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_time.rsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scriptc/rs_time.rsh b/scriptc/rs_time.rsh
index 1e6ab992..abcb88b8 100644
--- a/scriptc/rs_time.rsh
+++ b/scriptc/rs_time.rsh
@@ -28,7 +28,11 @@
* Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on
* January 1, 1970, Coordinated Universal Time (UTC)).
*/
+#ifndef __LP64__
typedef int rs_time_t;
+#else
+typedef long rs_time_t;
+#endif
/**
* Data structure for broken-down time components.