hash.h: move SHA-1 implementation selection into a header file
[git/git.git] / hash.h
1 #ifndef HASH_H
2 #define HASH_H
3
4 #if defined(SHA1_PPC)
5 #include "ppc/sha1.h"
6 #elif defined(SHA1_APPLE)
7 #include <CommonCrypto/CommonDigest.h>
8 #elif defined(SHA1_OPENSSL)
9 #include <openssl/sha.h>
10 #else /* SHA1_BLK */
11 #include "block-sha1/sha1.h"
12 #endif
13
14 #endif