summaryrefslogtreecommitdiff
path: root/lang/gcc34/patches/patch-af
blob: 55a2463ecc67e8fca730f4c87135f598bc5a3929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 2004/06/29 18:01:25 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