Added ifdef

This commit is contained in:
Brad Morgan 2013-05-07 14:37:15 -04:00
parent 00e43380a0
commit 4ca3d6d28f

View File

@ -31,8 +31,10 @@ GIT_BEGIN_DECL
typedef enum {
/* git_cred_userpass_plaintext */
GIT_CREDTYPE_USERPASS_PLAINTEXT = 1,
#ifdef GIT_SSH
GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE = 2,
GIT_CREDTYPE_SSH_PUBLICKEY = 3,
#endif
} git_credtype_t;
/* The base structure for all credential types */