PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
avoid getcwd redefinition
This commit is contained in:
parent
a0e4739ced
commit
9aa2376bc7
|
@ -40,7 +40,9 @@ extern int errno;
|
|||
/* We want the directory in Unix syntax, not in VMS syntax. */
|
||||
# define getcwd(Buf, Max) (getcwd) (Buf, Max, 0)
|
||||
# else
|
||||
# ifndef _FORTIFY_SOURCE
|
||||
char *getcwd ();
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
char *getwd ();
|
||||
|
|
Loading…
Reference in New Issue