diff options
author | Doug Rupp <rupp@adacore.com> | 2021-09-17 13:18:29 -0700 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-11 13:38:09 +0000 |
commit | 3e10307b9a76b0ba4a7b1f65518c015df6bf9e90 (patch) | |
tree | 38b25c1268e2a13e295ef80482bcded5cbada1d1 | |
parent | 177b800f5fc861af1bf8700f050de28dd47ee1aa (diff) | |
download | gcc-3e10307b9a76b0ba4a7b1f65518c015df6bf9e90.zip gcc-3e10307b9a76b0ba4a7b1f65518c015df6bf9e90.tar.gz gcc-3e10307b9a76b0ba4a7b1f65518c015df6bf9e90.tar.bz2 |
[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.
-rw-r--r-- | gcc/ada/libgnat/s-parame__ae653.ads | 8 |
1 files 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 -- |