summaryrefslogtreecommitdiff
path: root/iterhash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'iterhash.cpp')
-rw-r--r--iterhash.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/iterhash.cpp b/iterhash.cpp
index d6dd092..eee0bfe 100644
--- a/iterhash.cpp
+++ b/iterhash.cpp
@@ -1,6 +1,10 @@
// 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)
+
#include "iterhash.h"
#include "misc.h"
@@ -133,3 +137,5 @@ template <class T, class BASE> void IteratedHashBase<T, BASE>::TruncatedFinal(by
}
NAMESPACE_END
+
+#endif