summaryrefslogtreecommitdiff
path: root/gcc/ada/g-dirope.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-26 07:56:12 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-26 07:56:12 +0000
commitf215f6793a1ab2b4120c2b278b7a0bdbcab236d7 (patch)
tree0d9fc92e6ee168877c1a6a0bf8692bfece2b39a6 /gcc/ada/g-dirope.ads
parent912b6e79ff9d98ac429c290119768bf73f9e1b10 (diff)
downloadgcc-f215f6793a1ab2b4120c2b278b7a0bdbcab236d7.tar.gz
* g-dirope.ads, g-dirope.adb: (Dir_Type_Value): Moved to spec.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-dirope.ads')
-rw-r--r--gcc/ada/g-dirope.ads11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ada/g-dirope.ads b/gcc/ada/g-dirope.ads
index 060c3c439d9..c489eccdedc 100644
--- a/gcc/ada/g-dirope.ads
+++ b/gcc/ada/g-dirope.ads
@@ -43,6 +43,7 @@
-- directory names (OpenVMS native directory format is not supported).
-- Read individual entries for more specific notes on OpenVMS support.
+with System;
with Ada.Strings.Maps;
package GNAT.Directory_Operations is
@@ -254,7 +255,15 @@ package GNAT.Directory_Operations is
private
- type Dir_Type_Value;
+ type Dir_Type_Value is new System.Address;
+ -- Low-level address directory structure as returned by opendir in C
+ --
+ -- Note that we used to define this type in the body of this package,
+ -- but this was causing troubles in the context of .NET code generation
+ -- (because Taft amendment types are not fully implemented and cause
+ -- undefined references to the class), so we moved the type declaration
+ -- to the spec's private part, which is no problem in any case here.
+
type Dir_Type is access Dir_Type_Value;
Null_Dir : constant Dir_Type := null;