PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails

avoid getcwd redefinition
This commit is contained in:
christos 2008-02-02 17:11:01 +00:00
parent a0e4739ced
commit 9aa2376bc7
1 changed files with 2 additions and 0 deletions

View File

@ -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 ();