diff --git a/cryptdll.vcproj b/cryptdll.vcproj
index c3d123d7..2407d5ce 100755
--- a/cryptdll.vcproj
+++ b/cryptdll.vcproj
@@ -1492,6 +1492,7 @@
Name="VCCLCompilerTool"
Optimization="1"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_MBCS;_USRDLL;CRYPTOPP_EXPORTS;CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2=1;USE_PRECOMPILED_HEADERS;$(NoInherit)"
+ UsePrecompiledHeader="0"
/>
@@ -2384,7 +2388,7 @@
>
@@ -2393,7 +2397,7 @@
>
diff --git a/cryptlib.vcproj b/cryptlib.vcproj
index 80af2957..7361df91 100755
--- a/cryptlib.vcproj
+++ b/cryptlib.vcproj
@@ -4255,6 +4255,7 @@
diff --git a/iterhash.cpp b/iterhash.cpp
index 73bbf980..273e0340 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 void IteratedHashBase::TruncatedFinal(by
}
NAMESPACE_END
-
-#endif
diff --git a/iterhash.h b/iterhash.h
index 01c219ed..d7d2f6e9 100644
--- a/iterhash.h
+++ b/iterhash.h
@@ -93,14 +93,6 @@ protected:
FixedSizeSecBlock m_state;
};
-NAMESPACE_END
-
-#ifdef CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES
-#include "iterhash.cpp"
-#endif
-
-NAMESPACE_BEGIN(CryptoPP)
-
#ifdef WORD64_AVAILABLE
CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase;
CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase;