diff src/sysdep.c @ 65657:c6e45e9a83bf

* 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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 23 Sep 2005 17:06:03 +0000
parents 52cdcffb8710
children 6345e0814501 2a679c81f552 ee12d75eb214
line wrap: on
line diff
--- a/src/sysdep.c	Fri Sep 23 15:49:13 2005 +0000
+++ b/src/sysdep.c	Fri Sep 23 17:06:03 2005 +0000
@@ -256,7 +256,7 @@
 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