mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-26 03:42:28 +00:00
settings: expose GIT_USE_NSEC flag in git_libgit2_features
This commit is contained in:
parent
e7de893ef8
commit
0269833f92
@ -101,6 +101,7 @@ typedef enum {
|
|||||||
GIT_FEATURE_THREADS = (1 << 0),
|
GIT_FEATURE_THREADS = (1 << 0),
|
||||||
GIT_FEATURE_HTTPS = (1 << 1),
|
GIT_FEATURE_HTTPS = (1 << 1),
|
||||||
GIT_FEATURE_SSH = (1 << 2),
|
GIT_FEATURE_SSH = (1 << 2),
|
||||||
|
GIT_FEATURE_NSEC = (1 << 3),
|
||||||
} git_feature_t;
|
} git_feature_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,9 @@ int git_libgit2_features()
|
|||||||
#endif
|
#endif
|
||||||
#if defined(GIT_SSH)
|
#if defined(GIT_SSH)
|
||||||
| GIT_FEATURE_SSH
|
| GIT_FEATURE_SSH
|
||||||
|
#endif
|
||||||
|
#if defined(GIT_USE_NSEC)
|
||||||
|
| GIT_FEATURE_NSEC
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user