summaryrefslogtreecommitdiff
path: root/iterhash.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-10-02 00:21:52 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-10-02 00:21:52 +0000
commit4f88a2a8cb4f04410d8816ff0f1daf9fdc462052 (patch)
tree1b073471381e954e7db43d60448a3713dfbe22d4 /iterhash.cpp
parent64919ba4241c646c7c62cfceda742a2c28195a36 (diff)
downloadcryptopp-4f88a2a8cb4f04410d8816ff0f1daf9fdc462052.tar.gz
reduce executable size when only hash functions are used
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@411 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'iterhash.cpp')
-rw-r--r--iterhash.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/iterhash.cpp b/iterhash.cpp
index 73bbf98..273e034 100644
--- a/iterhash.cpp
+++ b/iterhash.cpp
@@ -1,9 +1,6 @@
// iterhash.cpp - written and placed in the public domain by Wei Dai
-#include "pch.h"
-
-// prevent Sun's CC compiler from including this file automatically
-#if !defined(__SUNPRO_CC) || defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES)
+#define CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES
#include "iterhash.h"
#include "misc.h"
@@ -146,5 +143,3 @@ template <class T, class BASE> void IteratedHashBase<T, BASE>::TruncatedFinal(by
}
NAMESPACE_END
-
-#endif