Added initial support for native SGI compilers.

This commit is contained in:
curt
1999-02-26 22:07:53 +00:00
parent 739588f9c3
commit d136ad3e57
9 changed files with 72 additions and 21 deletions
+14 -4
View File
@@ -32,20 +32,27 @@
# include "Include/config.h"
#endif
#include <string>
#include <Include/compiler.h>
#include "Include/compiler.h"
#ifdef FG_HAVE_STD_INCLUDES
#if defined( FG_HAVE_STD_INCLUDES )
# include <istream>
#elif defined ( FG_HAVE_NATIVE_SGI_COMPILERS )
# include <CC/stream.h>
#else
# include <istream.h>
#endif
#include STL_STRING
#include "zfstream.hxx"
FG_USING_STD(string);
FG_USING_STD(istream);
#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
FG_USING_NAMESPACE(std);
#endif
#include "zfstream.hxx"
//-----------------------------------------------------------------------------
//
@@ -92,6 +99,9 @@ istream& skipcomment( istream& in );
#endif /* _FGSTREAM_HXX */
// $Log$
// Revision 1.7 1999/02/26 22:08:08 curt
// Added initial support for native SGI compilers.
//
// Revision 1.6 1999/01/19 20:41:46 curt
// Portability updates contributed by Bernie Bright.
//
+9 -2
View File
@@ -24,8 +24,8 @@
#ifndef STRUTILS_H
#define STRUTILS_H
#include <string>
#include "Include/compiler.h"
#include <Include/compiler.h>
#include STL_STRING
#ifdef FG_HAVE_STD_INCLUDES
# include <cstdlib>
@@ -35,6 +35,10 @@
FG_USING_STD(string);
#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
FG_USING_NAMESPACE(std);
#endif
// Default characters to remove.
extern const string whitespace;
@@ -64,6 +68,9 @@ atoi( const string& str )
#endif // STRUTILS_H
// $Log$
// Revision 1.5 1999/02/26 22:08:09 curt
// Added initial support for native SGI compilers.
//
// Revision 1.4 1999/01/19 20:41:47 curt
// Portability updates contributed by Bernie Bright.
//
+5
View File
@@ -66,6 +66,8 @@ FG_USING_STD(streamoff);
#if defined(__GNUC__) && __GNUC_MINOR__ < 8
# define ios_binary ios::bin
#elif defined( FG_HAVE_NATIVE_SGI_COMPILERS )
# define ios_binary 1
#else
# define ios_binary ios::binary
#endif
@@ -152,6 +154,9 @@ struct gzifstream_base
#endif // _zfstream_hxx
// $Log$
// Revision 1.8 1999/02/26 22:08:10 curt
// Added initial support for native SGI compilers.
//
// Revision 1.7 1999/01/19 20:41:49 curt
// Portability updates contributed by Bernie Bright.
//