settings: expose GIT_USE_NSEC flag in git_libgit2_features

This commit is contained in:
Axel Rasmussen 2015-06-02 12:42:07 -06:00
parent e7de893ef8
commit 0269833f92
2 changed files with 6 additions and 2 deletions

View File

@ -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;
/** /**

View File

@ -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
; ;
} }