os/FileSystem: disable mkfifo() wrapper on WIN32
This commit is contained in:
@ -116,12 +116,16 @@ static inline bool RemoveFile(const Path &file)
|
|||||||
*/
|
*/
|
||||||
Path ReadLink(const Path &path);
|
Path ReadLink(const Path &path);
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
MakeFifo(const Path &path, mode_t mode)
|
MakeFifo(const Path &path, mode_t mode)
|
||||||
{
|
{
|
||||||
return mkfifo(path.c_str(), mode) == 0;
|
return mkfifo(path.c_str(), mode) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for access() that uses #Path names.
|
* Wrapper for access() that uses #Path names.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user