OSDN Git Service

* 7sosprim.adb: tv_usec of struct_timeval and time_t are long
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Nov 2003 15:54:35 +0000 (15:54 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Nov 2003 15:54:35 +0000 (15:54 +0000)
integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73419 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/7sosprim.adb
gcc/ada/ChangeLog

index 7cc3251..c4a7a11 100644 (file)
@@ -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);
 
index 14d37a4..e86de71 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-10  Andreas Jaeger  <aj@suse.de>
+
+       * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
+       integer.
+
 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
 
        * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed