mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 23:03:40 +00:00
Added ifdef
This commit is contained in:
parent
00e43380a0
commit
4ca3d6d28f
@ -31,8 +31,10 @@ GIT_BEGIN_DECL
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
/* git_cred_userpass_plaintext */
|
/* git_cred_userpass_plaintext */
|
||||||
GIT_CREDTYPE_USERPASS_PLAINTEXT = 1,
|
GIT_CREDTYPE_USERPASS_PLAINTEXT = 1,
|
||||||
|
#ifdef GIT_SSH
|
||||||
GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE = 2,
|
GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE = 2,
|
||||||
GIT_CREDTYPE_SSH_PUBLICKEY = 3,
|
GIT_CREDTYPE_SSH_PUBLICKEY = 3,
|
||||||
|
#endif
|
||||||
} git_credtype_t;
|
} git_credtype_t;
|
||||||
|
|
||||||
/* The base structure for all credential types */
|
/* The base structure for all credential types */
|
||||||
|
Loading…
Reference in New Issue
Block a user