[Ada] The Unix Epochalyse of 2038 - OS_Time
commita0bdd4b03b87a01a5984aa5c7ad94f66b2a7bc9e
authorDoug Rupp <rupp@adacore.com>
Mon, 26 Apr 2021 04:52:09 +0000 (25 21:52 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 5 Jul 2021 13:09:12 +0000 (5 13:09 +0000)
tree65506f7ae0df06decc27986f88f53539a2aa4534
parente7b17be97330d2e42dd7e8e84a5b16a167241931
[Ada] The Unix Epochalyse of 2038 - OS_Time

gcc/ada/

* adaint.h (OS_Time): typedef as long long.
* osint.adb (Underlying_OS_Time): Declare as 64-bit signed type.
* libgnat/s-os_lib.adb ("<"): Compare OS_Time as
Long_Long_Integer.
("<="): Likewise.
(">"): Likewise.
(">="): Likewise.
* libgnat/s-os_lib.ads (OS_Time): Declare as 64-bit signed type.
gcc/ada/adaint.h
gcc/ada/libgnat/s-os_lib.adb
gcc/ada/libgnat/s-os_lib.ads
gcc/ada/osint.adb