Changeset 8306


Ignore:
Timestamp:
2004-10-13T12:25:32+13:00 (20 years ago)
Author:
mdewsnip
Message:

A few changes necessary to get the OAI server compiling with Microsoft Visual C++ 4.

Location:
trunk/gsdl/src/oaiservr
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/oaiservr/metaformat.h

    r8182 r8306  
    5252};
    5353
    54 typedef map<text_t, metaformatptr> metaformat_map;
     54typedef map<text_t, metaformatptr, lttext_t> metaformat_map;
    5555
    5656#endif
  • trunk/gsdl/src/oaiservr/oaiaction.cpp

    r8241 r8306  
    329329    // avoid outputting the action tag if the action's body is unsuccessful, in which
    330330    // case the leading tag must be suppressed
     331#if defined(GSDL_USE_IOS_H)
     332    ostrstream outstream;
     333#else
    331334    ostringstream outstream;
     335#endif
    332336
    333337    // Version 2.0 needs an <Identify>, etc. tag after the OAI-PMH header, IF there is no error
  • trunk/gsdl/src/oaiservr/oaimain.cpp

    r8182 r8306  
    2626 *********************************************************************/
    2727
    28 #if defined(GSDL_USE_STL_H)
    29 #include <fstream.h>
    30 #include <strstream.h>
     28#if defined(GSDL_USE_IOS_H)
     29#  include <fstream.h>
     30#  if defined(__WIN32__)
     31#    include <strstrea.h> // vc4
     32#  else
     33#    include <strstream.h>
     34#  endif
    3135#else
    32 #include <fstream>
    33 #include <strstream>
     36#  include <fstream>
     37#  include <sstream>
    3438#endif
    3539
  • trunk/gsdl/src/oaiservr/recordaction.cpp

    r8303 r8306  
    100100  }
    101101
    102   this->output_record(output, collection, OID, metadataPrefix);
     102  return this->output_record(output, collection, OID, metadataPrefix);
    103103
    104104
Note: See TracChangeset for help on using the changeset viewer.