summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-07-20 14:55:43 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-07-20 14:55:43 +0200
commitae65d635df87446453628c005cacf2ed3850b9c6 (patch)
treefa9429c3abb0b2200bdc7151416d825424d673a9 /gcc/ada/adaint.h
parent5132708f8a29709b74d5eedb36c3414cdf44fa96 (diff)
downloadgcc-ae65d635df87446453628c005cacf2ed3850b9c6.tar.gz
[multiple changes]
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. From-SVN: r149810
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h7
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);