summaryrefslogtreecommitdiff
path: root/lang/gccAda-3.4/patches/patch-af
blob: 4c24d7da17f26941b6c965e70675f64c833d15ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 2004/06/01 18:32:04 shannonjr Exp $

--- gcc/ada/cstreams.c.orig	2003-11-18 03:00:42.000000000 -0700
+++ gcc/ada/cstreams.c
@@ -175,7 +175,7 @@ __gnat_full_name (char *nam, char *buffe
 #elif defined (MSDOS)
   _fixpath (nam, buffer);
 
-#elif defined (sgi) || defined (__FreeBSD__)
+#elif defined (sgi) || defined (__FreeBSD__) || defined(__NetBSD__)
 
   /* Use realpath function which resolves links and references to . and ..
      on those Unix systems that support it. Note that GNU/Linux provides it but