summaryrefslogtreecommitdiff
path: root/mqueue.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-15 09:44:42 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-15 09:44:42 +0000
commiteeb9ff5e0b636456e46ae5f8dc96bd0a097eb178 (patch)
tree856e6cb973a9c21ed128b3a0029354bb22e3a40a /mqueue.h
parent3961b41d8f2426caa4a47509a743837c24f1438d (diff)
downloadcryptopp-git-eeb9ff5e0b636456e46ae5f8dc96bd0a097eb178.tar.gz
fix C++Builder 2009 compile, update Readme and License
Diffstat (limited to 'mqueue.h')
-rw-r--r--mqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mqueue.h b/mqueue.h
index b46f67d1..efa57a7c 100644
--- a/mqueue.h
+++ b/mqueue.h
@@ -88,11 +88,13 @@ private:
NAMESPACE_END
+#ifndef __BORLANDC__
NAMESPACE_BEGIN(std)
template<> inline void swap(CryptoPP::MessageQueue &a, CryptoPP::MessageQueue &b)
{
a.swap(b);
}
NAMESPACE_END
+#endif
#endif