Merge pull request #1850 from bimbashrestha/named_pipes

Gating named pipe support on windows
This commit is contained in:
Yann Collet
2019-10-30 12:18:58 -07:00
committed by GitHub
6 changed files with 19 additions and 5 deletions
+3 -1
View File
@@ -126,6 +126,8 @@ int UTIL_isSameFile(const char* fName1, const char* fName2)
#endif
}
#ifndef _MSC_VER
/* Using this to distinguish named pipes */
U32 UTIL_isFIFO(const char* infilename)
{
/* macro guards, as defined in : https://linux.die.net/man/2/lstat */
@@ -137,7 +139,7 @@ U32 UTIL_isFIFO(const char* infilename)
(void)infilename;
return 0;
}
#endif
U32 UTIL_isLink(const char* infilename)
{