projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6f717
)
Always use getwd if HAVE_GETWD is defined.
author
Richard Earnshaw
<erich@gnu.org>
Fri, 14 Oct 1994 14:29:15 +0000
(14:29 +0000)
committer
Richard Earnshaw
<erich@gnu.org>
Fri, 14 Oct 1994 14:29:15 +0000
(14:29 +0000)
From-SVN: r8268
gcc/getpwd.c
patch
|
blob
|
history
diff --git
a/gcc/getpwd.c
b/gcc/getpwd.c
index f2317a4da3adfcec7f94853a61749b3ce4d802b3..d939f3981eba2a18f5b15562aa924d04b617332b 100644
(file)
--- a/
gcc/getpwd.c
+++ b/
gcc/getpwd.c
@@
-14,7
+14,7
@@
extern int errno;
BSD systems) now provides getcwd as called for by POSIX. Allow for
the few exceptions to the general rule here. */
-#if !(defined (POSIX) || defined (USG) || defined (VMS))
+#if !(defined (POSIX) || defined (USG) || defined (VMS))
|| defined (HAVE_GETWD)
#include <sys/param.h>
extern char *getwd ();
#define getcwd(buf,len) getwd(buf)