From 83c4add7725ca2489ee5f10aee215e804368838b Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 22 Dec 2008 06:55:08 +0000 Subject: fix compile with GCC 4.0.1 on MacOS X 64-bit git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@430 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- iterhash.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'iterhash.cpp') diff --git a/iterhash.cpp b/iterhash.cpp index 273e034..44360b1 100644 --- a/iterhash.cpp +++ b/iterhash.cpp @@ -1,6 +1,8 @@ // iterhash.cpp - written and placed in the public domain by Wei Dai +#ifndef __GNUC__ #define CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES +#endif #include "iterhash.h" #include "misc.h" @@ -142,4 +144,14 @@ template void IteratedHashBase::TruncatedFinal(by this->Restart(); // reinit for next use } +#ifdef __GNUC__ + #ifdef WORD64_AVAILABLE + template class IteratedHashBase; + template class IteratedHashBase; + #endif + + template class IteratedHashBase; + template class IteratedHashBase; +#endif + NAMESPACE_END -- cgit v1.2.1