From 41c235f496e0f4737a9f096895cd0cd9bce1ea19 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 20 Jun 2000 14:04:28 +0000 Subject: [PATCH] Don't declare HAVE_GETWD. --- src/m/dpx2.h | 1 - src/m/ibmps2-aix.h | 1 - src/m/ibmrs6000.h | 1 - src/s/cxux.h | 2 -- src/s/gnu-linux.h | 1 - src/s/iris3-6.h | 3 --- src/s/irix3-3.h | 4 ---- 7 files changed, 13 deletions(-) diff --git a/src/m/dpx2.h b/src/m/dpx2.h index 4e72182907d..cb88daf7439 100644 --- a/src/m/dpx2.h +++ b/src/m/dpx2.h @@ -130,7 +130,6 @@ Boston, MA 02111-1307, USA. */ # undef LIBX11_SYSTEM # define LIBX11_SYSTEM -lmalloc -lnsl # define BSTRING -# define HAVE_GETWD /* * we must have INET loaded so we have sockets diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h index 72587ae31ae..aa5cb97ff3c 100644 --- a/src/m/ibmps2-aix.h +++ b/src/m/ibmps2-aix.h @@ -216,7 +216,6 @@ so disable it for them. */ #ifdef USG5_3 #define XICCC -#define HAVE_GETWD #undef LD_SWITCH_MACHINE #define LD_SWITCH_MACHINE -T0x0 -K -e start diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index fe876cb9462..56756ed0f95 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h @@ -148,7 +148,6 @@ Boston, MA 02111-1307, USA. */ #define START_FILES #define HAVE_SYSVIPC -#define HAVE_GETWD /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/ #define BROKEN_FIONREAD diff --git a/src/s/cxux.h b/src/s/cxux.h index 6b0de297d94..c39f2413cc2 100644 --- a/src/s/cxux.h +++ b/src/s/cxux.h @@ -212,8 +212,6 @@ Boston, MA 02111-1307, USA. */ */ #undef const -#define HAVE_GETWD - #ifdef sigmask #undef sigmask #endif diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 6cc82527924..44765c024f6 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -207,7 +207,6 @@ Boston, MA 02111-1307, USA. */ #define NO_SIOCTL_H /* don't have sioctl.h */ -#define HAVE_GETWD /* cure conflict with getcwd? */ #define HAVE_WAIT_HEADER #define SYSV_SYSTEM_DIR /* use dirent.h */ diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h index c4406cd2e87..56e0e06fefc 100644 --- a/src/s/iris3-6.h +++ b/src/s/iris3-6.h @@ -157,6 +157,3 @@ Boston, MA 02111-1307, USA. */ /* This is how to get the device name of the tty end of a pty. */ #define PTY_TTY_NAME_SPRINTF \ sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); - -/* The C library does have the getwd function. */ -#define HAVE_GETWD diff --git a/src/s/irix3-3.h b/src/s/irix3-3.h index 9fc8a54bc4d..1d02c5c3270 100644 --- a/src/s/irix3-3.h +++ b/src/s/irix3-3.h @@ -137,10 +137,6 @@ Boston, MA 02111-1307, USA. */ sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); -/* getwd is defined. */ - -#define HAVE_GETWD - #define HAVE_SYSVIPC /* sioctl.h should be included where appropriate. */ -- 2.39.2