diff options
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h index 4a86e1c63..c114508db 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -20,6 +20,9 @@ #define GIT_PLATFORM_PATH_SEP '/' #endif +#define S_IFGITLINK 0160000 +#define S_ISGITLINK(m) (((m) & S_IFMT) == S_IFGITLINK) + #ifdef GIT_WIN32 GIT_INLINE(int) link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new)) { |
