Mercurial > emacs
changeset 43138:a3df29430166
(S_ISLNK): Define if not defined.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Feb 2002 15:44:28 +0000 |
parents | bc055bf06a94 |
children | 22ff542d67ee |
files | src/filelock.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filelock.c Wed Feb 06 15:43:41 2002 +0000 +++ b/src/filelock.c Wed Feb 06 15:44:28 2002 +0000 @@ -67,6 +67,10 @@ #include <utmp.h> +#if !defined (S_ISLNK) && defined (S_IFLNK) +#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) +#endif + /* A file whose last-modified time is just after the most recent boot. Define this to be NULL to disable checking for this file. */ #ifndef BOOT_TIME_FILE