summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
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);