dbertoni    00/08/15 10:43:23

  Modified:    c/src/PlatformSupport DOMStringHelper.hpp
  Log:
  Changes for AIX.
  
  Revision  Changes    Path
  1.27      +8 -4      xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
  
  Index: DOMStringHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- DOMStringHelper.hpp       2000/08/14 18:03:56     1.26
  +++ DOMStringHelper.hpp       2000/08/15 17:43:22     1.27
  @@ -78,7 +78,9 @@
   #include <cwchar>
   #endif
   
  -#if defined(__GNUC__)
  +#if defined(AIX)
  +#include <wchar.h>
  +#elif defined(__GNUC__)
   #include <wctype.h>
   #endif
   
  @@ -856,11 +858,13 @@
   
   
   
  +#if !defined(XALAN_AMBIGUOUS_EVEN_IF_NOT_CALLED)
   // These two function are specifically not defined, and
   // should produce ambiguity during compilation.  This
   // is necessary because the Xerces XalanDOMString class
   // defines == as referring to the same underlying
  -// handle, not identical strings, as in Java.
  +// handle, not identical strings, as C++ programmers
  +// would expect.
   XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION(bool)
   operator==(
                        const XalanDOMString&   theLHS,
  @@ -872,7 +876,7 @@
   operator!=(
                        const XalanDOMString&   theLHS,
                        const XalanDOMString&   theRHS);
  -
  +#endif
   
   
   
  @@ -1453,7 +1457,7 @@
                        }
                }
   
  -             return static_cast<result_type>(theHashValue++);
  +             return result_type(theHashValue++);
        }
   };
   
  
  
  

Reply via email to