diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 12:55:43 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 12:55:43 +0000 |
commit | acecfc91539df33c7fa9f6d8601efb4cb1437bb6 (patch) | |
tree | fa9429c3abb0b2200bdc7151416d825424d673a9 /gcc/ada/adaint.h | |
parent | 7ee315cc1f5557d5c5c2f5fc059744620a34afb8 (diff) | |
download | gcc-acecfc91539df33c7fa9f6d8601efb4cb1437bb6.tar.gz |
2009-07-20 Robert Dewar <dewar@adacore.com>
* sem_ch13.adb: Minor reformatting
* einfo.ads: Minor reformatting
Component_Bit_Offset is no longer considered obsolescent
2009-07-20 Nicolas Roche <roche@adacore.com>
* a-calend.adb: Redefine time_t as signed integer with same size as
Address type.
* s-os_lib.ads: Redefine OS_Time as signed integer with same size as
Address type
* adaint.h: On Windows 64bits declare OS_Time as long long instead of
long
2009-07-20 Javier Miranda <miranda@adacore.com>
* exp_tss.adb (Init_Proc): Add missing support for non-default C++
constructors that have anonymous access type formals.
* sem_res.adb (Resolve_Actuals): Disable checks associated with Ada
class-wide arguments in case of imported C++ subprograms.
* exp_ch3.adb (Build_Initialization_Call): Add assertion.
2009-07-20 Sergey Rybin <rybin@adacore.com>
* vms_data.ads: Update qualifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149810 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 57cedf87350..f5c283a2228 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -62,7 +62,12 @@ #define STRUCT_STAT struct stat #endif -typedef long OS_Time; /* Type corresponding to GNAT.OS_Lib.OS_Time */ +/* Type corresponding to GNAT.OS_Lib.OS_Time */ +#if defined (_WIN64) +typedef long long OS_Time; +#else +typedef long OS_Time; +#endif extern int __gnat_max_path_len; extern OS_Time __gnat_current_time (void); |