dbertoni    02/05/07 17:54:45

  Modified:    c/src/PlatformSupport XalanDOMStringAllocator.hpp
  Log:
  Added #ifdef for certain platforms.
  
  Revision  Changes    Path
  1.3       +8 -0      
xml-xalan/c/src/PlatformSupport/XalanDOMStringAllocator.hpp
  
  Index: XalanDOMStringAllocator.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/PlatformSupport/XalanDOMStringAllocator.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanDOMStringAllocator.hpp       24 Apr 2002 04:08:06 -0000      1.2
  +++ XalanDOMStringAllocator.hpp       8 May 2002 00:54:45 -0000       1.3
  @@ -80,7 +80,15 @@
        typedef XalanDOMString                                  data_type;
        typedef data_type::size_type                    data_type_size_type;
   
  +#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
  +     typedef ArenaBlock<data_type>                   ArenaBlockType;
  +
  +     typedef ArenaAllocator<data_type,
  +                                                ArenaBlockType>      
ArenaAllocatorType;
  +#else
        typedef ArenaAllocator<data_type>               ArenaAllocatorType;
  +#endif
  +
        typedef ArenaAllocatorType::size_type   size_type;
   
        enum { eDefaultBlockSize = 32 };
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to