summaryrefslogtreecommitdiff
path: root/eprecomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eprecomp.cpp')
-rw-r--r--eprecomp.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/eprecomp.cpp b/eprecomp.cpp
index a061cf6..ce1b07f 100644
--- a/eprecomp.cpp
+++ b/eprecomp.cpp
@@ -2,6 +2,9 @@
#include "pch.h"
+// prevent Sun's CC compiler from including this file automatically
+#if !defined(__SUNPRO_CC) || defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES)
+
#ifndef CRYPTOPP_IMPORTS
#include "eprecomp.h"
@@ -110,3 +113,5 @@ template <class T> T
NAMESPACE_END
#endif
+
+#endif