358 |
# define PATH_SEPARATOR_CHAR ':' |
# define PATH_SEPARATOR_CHAR ':' |
359 |
#endif |
#endif |
360 |
|
|
361 |
|
/* This is needed for getcwd() and chdir(). */ |
362 |
|
#if defined(_MSC_VER) || defined(__BORLANDC__) |
363 |
|
# include <direct.h> |
364 |
|
#endif |
365 |
|
|
366 |
#ifdef WINDOWS32 |
#ifdef WINDOWS32 |
367 |
# include <fcntl.h> |
# include <fcntl.h> |
368 |
# include <malloc.h> |
# include <malloc.h> |
486 |
#ifdef HAVE_GETCWD |
#ifdef HAVE_GETCWD |
487 |
# if !defined(VMS) && !defined(__DECC) |
# if !defined(VMS) && !defined(__DECC) |
488 |
extern char *getcwd (); |
extern char *getcwd (); |
489 |
#endif |
# endif |
490 |
#else |
#else |
491 |
extern char *getwd (); |
extern char *getwd (); |
492 |
# define getcwd(buf, len) getwd (buf) |
# define getcwd(buf, len) getwd (buf) |