summaryrefslogtreecommitdiff
path: root/gf2n.h
diff options
context:
space:
mode:
Diffstat (limited to 'gf2n.h')
-rw-r--r--gf2n.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gf2n.h b/gf2n.h
index a2b53e3..67ade64 100644
--- a/gf2n.h
+++ b/gf2n.h
@@ -357,11 +357,13 @@ CRYPTOPP_DLL GF2NP * CRYPTOPP_API BERDecodeGF2NP(BufferedTransformation &bt);
NAMESPACE_END
+#ifndef __BORLANDC__
NAMESPACE_BEGIN(std)
template<> inline void swap(CryptoPP::PolynomialMod2 &a, CryptoPP::PolynomialMod2 &b)
{
a.swap(b);
}
NAMESPACE_END
+#endif
#endif