You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
file: Add S_ISFIFO compatability macro
Not all systems have S_ISFIFO. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
44f83930d9
commit
16c03f2e91
@@ -33,6 +33,14 @@
|
||||
#include "os_support.h"
|
||||
#include "url.h"
|
||||
|
||||
/* Some systems may not have S_ISFIFO */
|
||||
#ifndef S_ISFIFO
|
||||
# ifdef S_IFIFO
|
||||
# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
|
||||
# else
|
||||
# define S_ISFIFO(m) 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* standard file protocol */
|
||||
|
||||
|
Reference in New Issue
Block a user