aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-10-14 14:33:55 +0000
committerRichard Earnshaw <erich@gnu.org>1994-10-14 14:33:55 +0000
commit6cda9f97bcb061144c3bbac2c27831d15df0ab88 (patch)
tree02ce0c26f59f4f3c8adc96b0bfd44f2eb7ef5d8b /gcc
parent82f25f57c4fdd05b9f33924e11a0816ac2719760 (diff)
downloadgcc-6cda9f97bcb061144c3bbac2c27831d15df0ab88.zip
gcc-6cda9f97bcb061144c3bbac2c27831d15df0ab88.tar.gz
gcc-6cda9f97bcb061144c3bbac2c27831d15df0ab88.tar.bz2
Define HAVE_GETWD
From-SVN: r8269
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arm/xm-arm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/arm/xm-arm.h b/gcc/config/arm/xm-arm.h
index cece038..cd37de6 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 */