aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-c.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-15 05:56:04 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-15 05:59:11 +0200
commit5c277844959d86991e45e1491a8b52d82150cf9d (patch)
tree9911e8a07531d9f7212e11e18fe2c3612b9e6935 /src/grt/grt-c.ads
parent511075ef4fee902e256551cb31b913de569016f3 (diff)
downloadghdl-5c277844959d86991e45e1491a8b52d82150cf9d.tar.gz
ghdl-5c277844959d86991e45e1491a8b52d82150cf9d.tar.bz2
ghdl-5c277844959d86991e45e1491a8b52d82150cf9d.zip
grt: add grt-readline_gnu and grt-readline_none
grt-readline is now a renaming of grt-readline_gnut
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;