summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taspri-lynxos.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-taspri-lynxos.ads')
-rw-r--r--gcc/ada/s-taspri-lynxos.ads3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/s-taspri-lynxos.ads b/gcc/ada/s-taspri-lynxos.ads
index 53fa8b0280c..03eb447ac3f 100644
--- a/gcc/ada/s-taspri-lynxos.ads
+++ b/gcc/ada/s-taspri-lynxos.ads
@@ -32,7 +32,7 @@
-- --
------------------------------------------------------------------------------
--- This is a LynxOS version of this package, derived from 7staspri.ads
+-- This is a LynxOS version of this package, derived from s-taspri-posix.ads
pragma Polling (Off);
-- Turn off polling, we do not want ATC polling to take place during
@@ -44,6 +44,7 @@ with System.OS_Interface;
-- pthread_t
package System.Task_Primitives is
+ pragma Preelaborate;
type Lock is limited private;
-- Should be used for implementation of protected objects