diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-09-05 21:43:43 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-09-05 21:43:43 +0000 |
commit | 4e37f436f4425ce1c428f93bedd81bfdc4dc23f7 (patch) | |
tree | 7c9380467a43a9fd9b4095024796ccabfdce1280 /iterhash.h | |
parent | 25699d1dcc22ac8aaa36d285e02959962e1b502c (diff) | |
download | cryptopp-4e37f436f4425ce1c428f93bedd81bfdc4dc23f7.tar.gz |
port to GCC 4
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@211 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'iterhash.h')
-rw-r--r-- | iterhash.h | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -54,14 +54,6 @@ private: T m_countLo, m_countHi; }; -#ifdef WORD64_AVAILABLE -CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>; -#endif - -CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word32, HashTransformation>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word32, MessageAuthenticationCode>; - //! _ template <class T_HashWordType, class T_Endianness, unsigned int T_BlockSize, class T_Base = HashTransformation> class CRYPTOPP_NO_VTABLE IteratedHash : public IteratedHashBase<T_HashWordType, T_Base> @@ -105,4 +97,20 @@ protected: NAMESPACE_END +#ifdef CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES +#include "iterhash.cpp" +#endif + +NAMESPACE_BEGIN(CryptoPP) + +#ifdef WORD64_AVAILABLE +CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>; +CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>; +#endif + +CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word32, HashTransformation>; +CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word32, MessageAuthenticationCode>; + +NAMESPACE_END + #endif |