More portability changes to help with windoze compilation problems.
This commit is contained in:
parent
11cab90ce2
commit
2f9619f02a
@ -34,6 +34,9 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "Include/fg_stl_config.h"
|
||||||
|
_FG_USING_NAMESPACE(std);
|
||||||
|
|
||||||
#include "zfstream.hxx"
|
#include "zfstream.hxx"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@ -102,6 +105,9 @@ istream& skipcomment( istream& in );
|
|||||||
#endif /* _FGSTREAM_HXX */
|
#endif /* _FGSTREAM_HXX */
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.3 1998/10/13 00:10:06 curt
|
||||||
|
// More portability changes to help with windoze compilation problems.
|
||||||
|
//
|
||||||
// Revision 1.2 1998/09/24 15:22:18 curt
|
// Revision 1.2 1998/09/24 15:22:18 curt
|
||||||
// Additional enhancements.
|
// Additional enhancements.
|
||||||
//
|
//
|
||||||
|
@ -25,10 +25,14 @@
|
|||||||
#define STRUTILS_H
|
#define STRUTILS_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstdlib>
|
// #include <cstdlib>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "Include/fg_stl_config.h"
|
||||||
|
_FG_USING_NAMESPACE(std);
|
||||||
|
|
||||||
// Default characters to remove.
|
// Default characters to remove.
|
||||||
const string whitespace = " \n\r\t";
|
extern const string whitespace;
|
||||||
|
|
||||||
// Returns a string with trailing characters removed.
|
// Returns a string with trailing characters removed.
|
||||||
string trimleft( const string& s, const string& trimmings = whitespace );
|
string trimleft( const string& s, const string& trimmings = whitespace );
|
||||||
@ -56,6 +60,9 @@ atoi( const string& str )
|
|||||||
#endif // STRUTILS_H
|
#endif // STRUTILS_H
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.2 1998/10/13 00:10:07 curt
|
||||||
|
// More portability changes to help with windoze compilation problems.
|
||||||
|
//
|
||||||
// Revision 1.1 1998/09/01 19:06:31 curt
|
// Revision 1.1 1998/09/01 19:06:31 curt
|
||||||
// Initial revision.
|
// Initial revision.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user