mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-25 21:54:24 +00:00
settings: expose GIT_USE_NSEC flag in git_libgit2_features
This commit is contained in:
parent
e7de893ef8
commit
0269833f92
@ -99,8 +99,9 @@ GIT_EXTERN(void) git_libgit2_version(int *major, int *minor, int *rev);
|
||||
*/
|
||||
typedef enum {
|
||||
GIT_FEATURE_THREADS = (1 << 0),
|
||||
GIT_FEATURE_HTTPS = (1 << 1),
|
||||
GIT_FEATURE_SSH = (1 << 2),
|
||||
GIT_FEATURE_HTTPS = (1 << 1),
|
||||
GIT_FEATURE_SSH = (1 << 2),
|
||||
GIT_FEATURE_NSEC = (1 << 3),
|
||||
} git_feature_t;
|
||||
|
||||
/**
|
||||
|
@ -33,6 +33,9 @@ int git_libgit2_features()
|
||||
#endif
|
||||
#if defined(GIT_SSH)
|
||||
| GIT_FEATURE_SSH
|
||||
#endif
|
||||
#if defined(GIT_USE_NSEC)
|
||||
| GIT_FEATURE_NSEC
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user