From 391e30799f0b6d4a034eb2352e682440898b62f4 Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 12 Sep 2007 02:28:48 +0000 Subject: fix compile for for STLport 5.1.3 and MSVC 6 SP5 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@393 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- secblock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'secblock.h') diff --git a/secblock.h b/secblock.h index 5bb447d..aecd4d4 100644 --- a/secblock.h +++ b/secblock.h @@ -485,7 +485,8 @@ inline void swap(CryptoPP::SecBlock &a, CryptoPP::SecBlock &b) a.swap(b); } -#if defined(_STLPORT_VERSION) && !defined(_STLP_MEMBER_TEMPLATE_CLASSES) +#if defined(_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE) || (defined(_STLPORT_VERSION) && !defined(_STLP_MEMBER_TEMPLATE_CLASSES)) +// working for STLport 5.1.3 and MSVC 6 SP5 template inline CryptoPP::AllocatorWithCleanup<_Tp2>& __stl_alloc_rebind(CryptoPP::AllocatorWithCleanup<_Tp1>& __a, const _Tp2*) -- cgit v1.2.1