MSVC 7.1 build fixes

This commit is contained in:
Aleksandar Fabijanic
2013-03-30 13:02:16 -05:00
parent 6719d3448f
commit 5cde6d34df
4 changed files with 44 additions and 15 deletions

View File

@@ -48,6 +48,9 @@
namespace Poco {
class Any;
namespace Dynamic {
class Var;
@@ -103,7 +106,11 @@ public:
return pHolder;
}
private:
// MSVC71 doesn't extend friendship to nested class (Any::Holder)
#if !defined(POCO_MSVC_VERSION) || (defined(POCO_MSVC_VERSION) && (POCO_MSVC_VERSION > 71))
private:
#endif
PlaceholderT* pHolder;
mutable unsigned char holder[SizeV + 1];