diff options
| author | Richard M. Stallman | 2002-02-06 15:44:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-02-06 15:44:28 +0000 |
| commit | fa5c314daad6a222fb410abfed34e8e74266cc35 (patch) | |
| tree | f1863d56c45c3633ba73a172bc2e7100464e1381 /src | |
| parent | 5b7fc395598a2716d81857b16cc38fc7a90de124 (diff) | |
| download | emacs-fa5c314daad6a222fb410abfed34e8e74266cc35.tar.gz emacs-fa5c314daad6a222fb410abfed34e8e74266cc35.zip | |
(S_ISLNK): Define if not defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/filelock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filelock.c b/src/filelock.c index 5bf22dba790..b85f0a68a0e 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -67,6 +67,10 @@ Lisp_Object Vtemporary_file_directory; | |||
| 67 | 67 | ||
| 68 | #include <utmp.h> | 68 | #include <utmp.h> |
| 69 | 69 | ||
| 70 | #if !defined (S_ISLNK) && defined (S_IFLNK) | ||
| 71 | #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) | ||
| 72 | #endif | ||
| 73 | |||
| 70 | /* A file whose last-modified time is just after the most recent boot. | 74 | /* A file whose last-modified time is just after the most recent boot. |
| 71 | Define this to be NULL to disable checking for this file. */ | 75 | Define this to be NULL to disable checking for this file. */ |
| 72 | #ifndef BOOT_TIME_FILE | 76 | #ifndef BOOT_TIME_FILE |