From c77c5f2e385fd9e494ccd08723b72b0d304cb2d0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 10 Nov 2003 16:54:35 +0100 Subject: [PATCH] 7sosprim.adb: tv_usec of struct_timeval and time_t are long integer. * 7sosprim.adb: tv_usec of struct_timeval and time_t are long integer. From-SVN: r73419 --- gcc/ada/7sosprim.adb | 6 +++--- gcc/ada/ChangeLog | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ada/7sosprim.adb b/gcc/ada/7sosprim.adb index 7cc32510576..c4a7a112380 100644 --- a/gcc/ada/7sosprim.adb +++ b/gcc/ada/7sosprim.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1998-2002 Free Software Foundation, Inc. -- +-- Copyright (C) 1998-2003 Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -47,11 +47,11 @@ package body System.OS_Primitives is pragma Convention (C, struct_timezone); type struct_timezone_ptr is access all struct_timezone; - type time_t is new Integer; + type time_t is new Long_Integer; type struct_timeval is record tv_sec : time_t; - tv_usec : Integer; + tv_usec : Long_Integer; end record; pragma Convention (C, struct_timeval); diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 14d37a400e7..e86de71004e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2003-11-10 Andreas Jaeger + + * 7sosprim.adb: tv_usec of struct_timeval and time_t are long + integer. + 2003-11-10 Arnaud Charlet * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed