summaryrefslogtreecommitdiff
path: root/iterhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'iterhash.h')
-rw-r--r--iterhash.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/iterhash.h b/iterhash.h
index d7d2f6e9..a22b57db 100644
--- a/iterhash.h
+++ b/iterhash.h
@@ -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