dbertoni 01/09/26 07:10:06
Modified: c/src/PlatformSupport ArenaBlock.hpp
Log:
New ifdef for std::allocator.
Revision Changes Path
1.12 +4 -0 xml-xalan/c/src/PlatformSupport/ArenaBlock.hpp
Index: ArenaBlock.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/ArenaBlock.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ArenaBlock.hpp 2001/09/25 21:12:51 1.11
+++ ArenaBlock.hpp 2001/09/26 14:10:06 1.12
@@ -195,7 +195,11 @@
// If no memory has yet been allocated, then allocate
it...
if (m_objectBlock == 0)
{
+#if defined(XALAN_NEW_STD_ALLOCATOR)
m_objectBlock =
m_allocator.allocate(m_blockSize);
+#else
+ m_objectBlock =
m_allocator.allocate(m_blockSize, 0);
+#endif
}
assert(m_objectBlock != 0);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]