]> git.eshelyaron.com Git - emacs.git/commitdiff
(S_ISLNK): Define if not defined.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Feb 2002 15:44:28 +0000 (15:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Feb 2002 15:44:28 +0000 (15:44 +0000)
src/filelock.c

index 5bf22dba7902d04a5b6562edf234abc3eb71aa4e..b85f0a68a0eab52d7b004499195bcf32efe90fe1 100644 (file)
@@ -67,6 +67,10 @@ Lisp_Object Vtemporary_file_directory;
 
 #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