From: Doug Rupp Date: Fri, 17 Sep 2021 20:18:29 +0000 (-0700) Subject: [Ada] Size of time_t in newer verions of VxWorks7 X-Git-Tag: basepoints/gcc-13~4024 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e10307b9a76b0ba4a7b1f65518c015df6bf9e90;p=thirdparty%2Fgcc.git [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. --- diff --git a/gcc/ada/libgnat/s-parame__ae653.ads b/gcc/ada/libgnat/s-parame__ae653.ads index f838b41d5b11..a3e235124893 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 --