diff options
author | Edward Thomson <ethomson@github.com> | 2017-02-24 13:03:15 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2017-03-03 10:50:27 +0000 |
commit | a371a8ae94ff234acdc19cb35dead4312465ffce (patch) | |
tree | 5e88660b979fdcceafeced2fc49603af57a44731 /src | |
parent | ba2bc4911d99e20f1060bb6767edab94fd5d97a6 (diff) | |
download | libgit2-a371a8ae94ff234acdc19cb35dead4312465ffce.tar.gz |
hash: rename implementation selection constants
Diffstat (limited to 'src')
-rw-r--r-- | src/hash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash.h b/src/hash.h index 0bc02a8a9..76788b18d 100644 --- a/src/hash.h +++ b/src/hash.h @@ -16,11 +16,11 @@ int git_hash_global_init(void); int git_hash_ctx_init(git_hash_ctx *ctx); void git_hash_ctx_cleanup(git_hash_ctx *ctx); -#if defined(GIT_COMMON_CRYPTO) +#if defined(GIT_SHA1_COMMON_CRYPTO) # include "hash/hash_common_crypto.h" -#elif defined(OPENSSL_SHA1) +#elif defined(GIT_SHA1_OPENSSL) # include "hash/hash_openssl.h" -#elif defined(WIN32_SHA1) +#elif defined(GIT_SHA1_WIN32) # include "hash/hash_win32.h" #else # include "hash/hash_generic.h" |