From 6cda9f97bcb061144c3bbac2c27831d15df0ab88 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Fri, 14 Oct 1994 14:33:55 +0000 Subject: [PATCH] Define HAVE_GETWD From-SVN: r8269 --- gcc/config/arm/xm-arm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/config/arm/xm-arm.h b/gcc/config/arm/xm-arm.h index cece038ba9d..cd37de61128 100644 --- a/gcc/config/arm/xm-arm.h +++ b/gcc/config/arm/xm-arm.h @@ -62,6 +62,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 +/* If we have defined POSIX, but are compiling in the BSD environment, then + we need to define getcwd in terms of getwd. */ +#if defined (POSIX) && defined (_BSD_C) +#define HAVE_GETWD 1 +#endif + /* EOF xm-arm.h */