xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cargi...@apache.org
Subject cvs commit: xml-xerces/c/samples/PSVIWriter PSVIWriter.cpp PSVIWriter.hpp
Date Tue, 10 Feb 2004 17:36:38 GMT
cargilld    2004/02/10 09:36:38

  Modified:    c/samples/PSVIWriter PSVIWriter.cpp PSVIWriter.hpp
  Log:
  Fix build problems.
  
  Revision  Changes    Path
  1.3       +4 -1      xml-xerces/c/samples/PSVIWriter/PSVIWriter.cpp
  
  Index: PSVIWriter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/PSVIWriter/PSVIWriter.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PSVIWriter.cpp	9 Feb 2004 13:23:45 -0000	1.2
  +++ PSVIWriter.cpp	10 Feb 2004 17:36:38 -0000	1.3
  @@ -57,6 +57,9 @@
   //REVISIT
   /*
    * $Log$
  + * Revision 1.3  2004/02/10 17:36:38  cargilld
  + * Fix build problems.
  + *
    * Revision 1.2  2004/02/09 13:23:45  cargilld
    * Fix build problems and update usage.
    *
  @@ -276,7 +279,7 @@
       unsigned long duration;
   
       bool more = true;
  -    ifstream fin;
  +    XERCES_STD_QUALIFIER ifstream fin;
   
       // the input is a list file
       if (doList) //REVISIT
  
  
  
  1.2       +6 -2      xml-xerces/c/samples/PSVIWriter/PSVIWriter.hpp
  
  Index: PSVIWriter.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/PSVIWriter/PSVIWriter.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PSVIWriter.hpp	4 Feb 2004 20:11:54 -0000	1.1
  +++ PSVIWriter.hpp	10 Feb 2004 17:36:38 -0000	1.2
  @@ -65,11 +65,15 @@
   #include "PSVIWriterHandlers.hpp"
   #include <stdlib.h>
   #include <string.h>
  -#include <iostream.h>
   #include <xercesc/util/PlatformUtils.hpp>
   #include <xercesc/util/XMLUni.hpp>
   #include <xercesc/sax2/XMLReaderFactory.hpp>
   #include <xercesc/sax2/SAX2XMLReader.hpp>
  +#if defined(XERCES_NEW_IOSTREAMS)
  +#include <iostream>
  +#else
  +#include <iostream.h>
  +#endif
   
   
   // ---------------------------------------------------------------------------
  @@ -111,7 +115,7 @@
       char*   fLocalForm;
   };
   
  -inline ostream& operator<<(ostream& target, const StrX& toDump)
  +inline XERCES_STD_QUALIFIER ostream& operator<<(XERCES_STD_QUALIFIER ostream&
target, const StrX& toDump)
   {
       target << toDump.localForm();
       return target;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org


Mime
View raw message