summaryrefslogtreecommitdiff
path: root/gcc/ada/5rosinte.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/5rosinte.ads')
-rw-r--r--gcc/ada/5rosinte.ads4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/5rosinte.ads b/gcc/ada/5rosinte.ads
index 710176c1222..c82ea1559ec 100644
--- a/gcc/ada/5rosinte.ads
+++ b/gcc/ada/5rosinte.ads
@@ -139,6 +139,8 @@ package System.OS_Interface is
pragma Convention (C, struct_sigaction);
type struct_sigaction_ptr is access all struct_sigaction;
+ SA_SIGINFO : constant := 16#02#;
+
SIG_BLOCK : constant := 1;
SIG_UNBLOCK : constant := 2;
SIG_SETMASK : constant := 3;
@@ -261,7 +263,7 @@ package System.OS_Interface is
PROT_OFF : constant := 0;
function mprotect (addr : Address; len : size_t; prot : int) return int;
- -- Do nothing on RTEMS.
+ pragma Import (C, mprotect);
-----------------------------------------
-- Nonstandard Thread Initialization --