mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name.
This commit is contained in:
parent
5e9c0314a2
commit
a36e7b7fad
@ -1,5 +1,7 @@
|
||||
2002-09-05 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name.
|
||||
|
||||
* fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
|
||||
definitions for S_IFDOOR and S_ISDOOR.
|
||||
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
|
||||
|
6
src/fs.h
6
src/fs.h
@ -27,12 +27,12 @@
|
||||
# define S_ISSOCK(x) (((x) & S_IFMT) == S_IFSOCK)
|
||||
#endif
|
||||
|
||||
#ifndef S_IFFIFO
|
||||
# define S_IFFIFO 0
|
||||
#ifndef S_IFIFO
|
||||
# define S_IFIFO 0
|
||||
#endif
|
||||
|
||||
#ifndef S_ISFIFO
|
||||
# define S_ISFIFO(x) (((x) & S_IFMT) == S_IFFIFO)
|
||||
# define S_ISFIFO(x) (((x) & S_IFMT) == S_IFIFO)
|
||||
#endif
|
||||
|
||||
#ifndef S_IFCHR
|
||||
|
Loading…
Reference in New Issue
Block a user