summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/gnat/i-c.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/gnat/i-c.ads b/src/lib/gnat/i-c.ads
index 1403fcec80..7e90a60e65 100644
--- a/src/lib/gnat/i-c.ads
+++ b/src/lib/gnat/i-c.ads
@@ -59,6 +59,9 @@ package Interfaces.C is
type size_t is mod 2 ** System.Parameters.ptr_bits;
+ -- For convenience, also provide an uintptr_t type
+ type uintptr_t is mod 2 ** System.Parameters.ptr_bits;
+
----------------------------
-- Characters and Strings --
----------------------------