From 3e10307b9a76b0ba4a7b1f65518c015df6bf9e90 Mon Sep 17 00:00:00 2001 From: Doug Rupp Date: Fri, 17 Sep 2021 13:18:29 -0700 Subject: [Ada] Size of time_t in newer verions of VxWorks7 gcc/ada/ * libgnat/s-parame__ae653.ads (time_t_bits): Change to Long_Long_Integer'Size. Add some comments to explain. --- gcc/ada/libgnat/s-parame__ae653.ads | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ada/libgnat/s-parame__ae653.ads b/gcc/ada/libgnat/s-parame__ae653.ads index f838b41..a3e2351 100644 --- a/gcc/ada/libgnat/s-parame__ae653.ads +++ b/gcc/ada/libgnat/s-parame__ae653.ads @@ -104,8 +104,12 @@ package System.Parameters is -- Characteristics of time_t type -- ------------------------------------ - time_t_bits : constant := Long_Integer'Size; - -- Number of bits in type time_t + -- IMPORTANT NOTE: + -- time_t_bits must match the size specified in the VSB. + + time_t_bits : constant := Long_Long_Integer'Size; + -- Number of bits in type time_t for SR0660 and newer, + -- with the default configuration of the VSB. ---------------------------------------------- -- Characteristics of types in Interfaces.C -- -- cgit v1.1