aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-c.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/grt-c.ads')
-rw-r--r--src/grt/grt-c.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grt/grt-c.ads b/src/grt/grt-c.ads
index 64b43127a..e2a66c705 100644
--- a/src/grt/grt-c.ads
+++ b/src/grt/grt-c.ads
@@ -34,6 +34,8 @@ package Grt.C is
-- Type size_t.
type size_t is mod 2 ** Standard'Address_Size;
+ type ssize_t is range
+ -2 ** (Standard'Address_Size - 1) .. 2 ** (Standard'Address_Size - 1) - 1;
-- Type int. It is an alias on Integer for simplicity.
subtype int is Integer;