X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fxgetcwd.c;h=7aa04efa414dce97dff389c20185e8e7265fccad;hb=6d8337bfc808cddc275899c03482eceb6aff8547;hp=6e775e74b26ffceb206981a1d6d8dc822dbe560f;hpb=37f27c1b74b966c83e6fd2ffa74ed8817bf00e6e;p=pspp diff --git a/lib/xgetcwd.c b/lib/xgetcwd.c index 6e775e74b2..7aa04efa41 100644 --- a/lib/xgetcwd.c +++ b/lib/xgetcwd.c @@ -12,20 +12,13 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Written by David MacKenzie, djm@gnu.ai.mit.edu. */ +/* Written by David MacKenzie . */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include @@ -36,7 +29,7 @@ extern int errno; #include #include "pathmax.h" -#if !defined(_POSIX_VERSION) && !defined(HAVE_GETCWD) +#ifndef HAVE_GETCWD char *getwd (); #define getcwd(buf, max) getwd (buf) #else