diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-25 23:00:17 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-25 23:00:17 +0000 |
commit | f388233b033ccae26e567fb573fd3d7a87c71744 (patch) | |
tree | 1c51defb3a7e907880bb538ce9fd19bf6333d7d2 /make.h | |
parent | 6cdaff0948bbec3220d5cb071f79d5f2e1c9b083 (diff) | |
download | gunmake-f388233b033ccae26e567fb573fd3d7a87c71744.tar.gz |
Fix Savannah bug # 13478. If -L is given, take the latest mtime for a
symlink even if it is "dangling" (it doesn't resolve to a real file).
Diffstat (limited to 'make.h')
-rw-r--r-- | make.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -358,6 +358,11 @@ extern int strcmpi (const char *,const char *); # define PATH_SEPARATOR_CHAR ':' #endif +/* This is needed for getcwd() and chdir(). */ +#if defined(_MSC_VER) || defined(__BORLANDC__) +# include <direct.h> +#endif + #ifdef WINDOWS32 # include <fcntl.h> # include <malloc.h> @@ -481,7 +486,7 @@ extern long int lseek (); #ifdef HAVE_GETCWD # if !defined(VMS) && !defined(__DECC) extern char *getcwd (); -#endif +# endif #else extern char *getwd (); # define getcwd(buf, len) getwd (buf) |