Commit 4ca3d6d2 by Brad Morgan

Added ifdef

parent 00e43380
...@@ -31,8 +31,10 @@ GIT_BEGIN_DECL ...@@ -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 */
......
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