summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-linux-sparc.ads
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-15 12:06:25 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-15 12:06:25 +0000
commite3a1f6b50495473f677f413d8740808a3fde5a9a (patch)
treef6854d8417f71282546ff4e7157a6bdbe43baad5 /gcc/ada/s-linux-sparc.ads
parent16b0db65fa3f292beb93e4916a8aab52e0ab95f5 (diff)
downloadppe42-gcc-e3a1f6b50495473f677f413d8740808a3fde5a9a.tar.gz
ppe42-gcc-e3a1f6b50495473f677f413d8740808a3fde5a9a.zip
Add and use System.Linux.time_t for time_t
PR ada/54040 * s-linux-x32.ads: New file. * s-osprim-x32.adb: Likewise. * s-linux.ads (time_t): New type. * s-linux-alpha.ads (time_t): Likewise. * s-linux-hppa.ads (time_t): Likewise. * s-linux-mipsel.ads (time_t): Likewise. * s-linux-sparc.ads (time_t): Likewise. * s-osinte-linux.ads (time_t): Mark it private. Replace long with System.Linux.time_t. (timespec): Replace long with time_t. * s-osinte-posix.adb (To_Timespec): Likewise. * s-taprop-linux.adb (timeval): Replace C.long with System.OS_Interface.time_t. * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Replace s-linux.ads with s-linux-x32.ads, s-osprim-posix.adb with s-osprim-x32.adb for x32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-linux-sparc.ads')
-rw-r--r--gcc/ada/s-linux-sparc.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/s-linux-sparc.ads b/gcc/ada/s-linux-sparc.ads
index 3ba20da4d5c..db3b4ea794c 100644
--- a/gcc/ada/s-linux-sparc.ads
+++ b/gcc/ada/s-linux-sparc.ads
@@ -38,6 +38,12 @@
package System.Linux is
pragma Preelaborate;
+ ------------
+ -- time_t --
+ ------------
+
+ type time_t is new Long_Integer;
+
-----------
-- Errno --
-----------
OpenPOWER on IntegriCloud