From: Eli Zaretskii Date: Sun, 21 Feb 1999 16:36:07 +0000 (+0000) Subject: (lstat) [!S_ISLNK]: Use stat instead of lstat. X-Git-Tag: emacs-20.4~582 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f6df9b587967f54a9594923a6fa53b60c207afa;p=emacs.git (lstat) [!S_ISLNK]: Use stat instead of lstat. --- diff --git a/src/fileio.c b/src/fileio.c index fd7322d7af4..7a8a5c92322 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -149,6 +149,10 @@ extern char *strerror (); #define O_RDONLY 0 #endif +#ifndef S_ISLNK +# define lstat stat +#endif + #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))