mirror of
https://github.com/git/git.git
synced 2026-03-14 18:59:04 +01:00
Add a fake S_ISSOCK() macro
This commit is contained in:
@@ -375,6 +375,7 @@ static inline int strtoul_ui(char const *s, int base, unsigned int *result)
|
||||
#ifndef S_ISLNK
|
||||
#define S_IFLNK 0120000 /* Symbolic link */
|
||||
#define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK)
|
||||
#define S_ISSOCK(x) 0
|
||||
#endif
|
||||
|
||||
#ifndef S_ISGRP
|
||||
|
||||
Reference in New Issue
Block a user