diff options
author | weidai <weidai11@users.noreply.github.com> | 2008-12-22 06:55:08 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2008-12-22 06:55:08 +0000 |
commit | f8717545022137560ae3fe2f2a28709bf9122d78 (patch) | |
tree | fb71bcd9079c3d52aa10d6a7c41a2f97412c6033 /iterhash.h | |
parent | 1dc4ead99995b64fd3ca1982ee1e3a833acba98e (diff) | |
download | cryptopp-git-f8717545022137560ae3fe2f2a28709bf9122d78.tar.gz |
fix compile with GCC 4.0.1 on MacOS X 64-bit
Diffstat (limited to 'iterhash.h')
-rw-r--r-- | iterhash.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -93,14 +93,16 @@ protected: FixedSizeSecBlock<T_HashWordType, T_BlockSize/sizeof(T_HashWordType)> m_state; }; -#ifdef WORD64_AVAILABLE -CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>; +#ifndef __GNUC__ + #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>; #endif -CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word32, HashTransformation>; -CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word32, MessageAuthenticationCode>; - NAMESPACE_END #endif |