summaryrefslogblamecommitdiffstats
path: root/source/d/make/make-4.3-getcwd.patch
blob: 7f6f18fa961f150fbca64f67d1748c71cb9d0e1d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                            
diff -Nrup a/src/makeint.h b/src/makeint.h
--- a/src/makeint.h	2016-05-21 16:22:32.000000000 -0400
+++ b/src/makeint.h	2016-09-22 16:12:38.606702160 -0400
@@ -596,7 +596,7 @@ long int lseek ();
 # endif
 
 # ifdef  HAVE_GETCWD
-#  if !defined(VMS) && !defined(__DECC)
+#  if !defined(VMS) && !defined(__DECC) && !defined(getcwd)
 char *getcwd ();
 #  endif
 # else