1234567891011121314151617181920212223242526 |
- $OpenBSD: patch-gcc_ada_s-osprim-posix_adb,v 1.1.1.1 2014/06/26 16:30:18 pascal Exp $
- --- gcc/ada/s-osprim-posix.adb.orig Mon Jan 20 02:55:58 2014
- +++ gcc/ada/s-osprim-posix.adb Mon Jan 20 02:56:39 2014
- @@ -38,7 +38,7 @@ package body System.OS_Primitives is
- -- these declarations in System.OS_Interface and move these ones in
- -- the spec.
-
- - type time_t is new Long_Integer;
- + type time_t is new Long_Long_Integer;
-
- type timespec is record
- tv_sec : time_t;
- @@ -54,7 +54,11 @@ package body System.OS_Primitives is
- -----------
-
- function Clock return Duration is
- - type timeval is array (1 .. 2) of Long_Integer;
- + type timeval is
- + record
- + tv_sec : time_t;
- + tv_usec : Long_Integer;
- + end record;
-
- procedure timeval_to_duration
- (T : not null access timeval;
|