dbertoni 01/03/09 12:52:21
Modified: c/src/XPath XPathAllocator.hpp
Log:
Added #ifdef.
Revision Changes Path
1.2 +8 -0 xml-xalan/c/src/XPath/XPathAllocator.hpp
Index: XPathAllocator.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathAllocator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XPathAllocator.hpp 2001/02/28 23:16:07 1.1
+++ XPathAllocator.hpp 2001/03/09 20:52:19 1.2
@@ -79,7 +79,15 @@
typedef XPath
object_type;
+#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
+ typedef ArenaBlock<object_type> ArenaBlockType;
+
+ typedef ArenaAllocator<object_type,
+ ArenaBlockType>
ArenaAllocatorType;
+#else
typedef ArenaAllocator<object_type> ArenaAllocatorType;
+#endif
+
typedef ArenaAllocatorType::size_type size_type;
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]