summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2005-09-23 17:06:03 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2005-09-23 17:06:03 +0000
commit3480d92bb007bebdb644afbe667a02c00edbb334 (patch)
tree8279dd47c15f639a6bb55eee0f0b3bd5f41b20c1 /src/sysdep.c
parentbc07911a4be5cbb60f4019067fc60249020c78b2 (diff)
downloademacs-3480d92bb007bebdb644afbe667a02c00edbb334.tar.gz
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
BROKEN_GET_CURRENT_DIR_NAME. * sysdep.c (get_current_dir_name): Also define if BROKEN_GET_CURRENT_DIR_NAME. * m/ibmrs6000.h: Test for USG5, not USG5_4.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index eae493ba453..f70d4b18cff 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -256,7 +256,7 @@ void hft_reset ();
SIGMASKTYPE sigprocmask_set;
-#ifndef HAVE_GET_CURRENT_DIR_NAME
+#if !defined (HAVE_GET_CURRENT_DIR_NAME) || defined (BROKEN_GET_CURRENT_DIR_NAME)
/* Return the current working directory. Returns NULL on errors.
Any other returned value must be freed with free. This is used