summaryrefslogtreecommitdiff
path: root/gcc/ada/a-reatim.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-23 06:17:00 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-23 06:17:00 +0000
commitb8ba40f6dede4275ddc7f15fdcec67779ce6adc8 (patch)
treecdb474977d541e032512b49fafab59f1f9e91e24 /gcc/ada/a-reatim.adb
parent5a44b136feb61bbde8d58721533ccfe5cd5aa41d (diff)
downloadgcc-b8ba40f6dede4275ddc7f15fdcec67779ce6adc8.tar.gz
2010-06-23 Vincent Celier <celier@adacore.com>
* a-reatim.adb: Call System.OS_Primitives.Initialize during elaboration git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161245 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-reatim.adb')
-rw-r--r--gcc/ada/a-reatim.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/a-reatim.adb b/gcc/ada/a-reatim.adb
index c3cbec69ddc..355f0db4c10 100644
--- a/gcc/ada/a-reatim.adb
+++ b/gcc/ada/a-reatim.adb
@@ -7,7 +7,7 @@
-- B o d y --
-- --
-- Copyright (C) 1991-1994, Florida State University --
--- Copyright (C) 1995-2009, AdaCore --
+-- Copyright (C) 1995-2010, AdaCore --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -32,6 +32,8 @@
-- --
------------------------------------------------------------------------------
+with System.OS_Primitives;
+
package body Ada.Real_Time is
---------
@@ -242,4 +244,6 @@ package body Ada.Real_Time is
return Time_Span (D);
end To_Time_Span;
+begin
+ System.OS_Primitives.Initialize;
end Ada.Real_Time;