Ignore:
Timestamp:
2000-06-12T15:32:53+12:00 (24 years ago)
Author:
sjboddie
Message:

Another small change so that the local library compiles without the
GSDL_USE_IOS_H flag. It appears that rdbuf was a little different in
the old iostream libraries than in the new.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/w32server/cgiwrapper.cpp

    r1203 r1205  
    322322// returns 1 if successful, 0 if unsuccessful
    323323int gsdl_init () {
     324#if defined (GSDL_USE_IOS_H)
     325  cerr = &logstream;
     326  cout = &textstream;
     327#else
    324328  cerr.rdbuf(&logstream);
    325329  cout.rdbuf(&textstream);
     330#endif
    326331
    327332  // collection should be set to "" unless in
Note: See TracChangeset for help on using the changeset viewer.