Commit 0269833f by Axel Rasmussen

settings: expose GIT_USE_NSEC flag in git_libgit2_features

parent e7de893e
...@@ -101,6 +101,7 @@ typedef enum { ...@@ -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;
/** /**
......
...@@ -34,6 +34,9 @@ int git_libgit2_features() ...@@ -34,6 +34,9 @@ int git_libgit2_features()
#if defined(GIT_SSH) #if defined(GIT_SSH)
| GIT_FEATURE_SSH | GIT_FEATURE_SSH
#endif #endif
#if defined(GIT_USE_NSEC)
| GIT_FEATURE_NSEC
#endif
; ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment