Rename IRIX to irix_string in simgear/compatibility and assign "simgear/compatibility/irix_string" to STL_STRING for IRIX

This commit is contained in:
ehofman
2003-12-01 18:56:53 +00:00
parent 83b4dcb55c
commit fbf018598e
4 changed files with 11 additions and 9 deletions

View File

@@ -30,4 +30,4 @@ include_HEADERS = \
new \
streambuf \
\
IRIX
irix_string

View File

@@ -1,6 +1,8 @@
#ifndef __SGI_HXX
#define __SGI_HXX
#define __SGI_HXX 1
#ifdef __cplusplus
#include <string>
@@ -40,4 +42,6 @@ operator+(const char* lhs, const std::string& rhs)
return std::string(lhs) + rhs;
}
#endif // !__SGI_HXX
#endif /* __cplusplus */
#endif /* !__SGI_HXX */

View File

@@ -290,8 +290,6 @@
#if defined ( sgi ) && !defined( __GNUC__ )
# define SG_HAVE_NATIVE_SGI_COMPILERS
#include <simgear/compatibility/IRIX>
# define SG_EXPLICIT_FUNCTION_TMPL_ARGS
# define SG_CLASS_PARTIAL_SPECIALIZATION
# define SG_NEED_AUTO_PTR
@@ -309,7 +307,7 @@
# define STL_ITERATOR <iterator>
# define STL_FSTREAM <fstream>
# define STL_STDEXCEPT <stdexcept>
# define STL_STRING <string>
# define STL_STRING <simgear/compatibility/irix_string>
# define STL_STRSTREAM <strstream>
#pragma set woff 1001,1012,1014,1116,1155,1172,1174

View File

@@ -1,10 +1,10 @@
#ifndef SG_TABBED_VALUES_HXX
#define SG_TABBED_VALUES_HXX
#include <vector>
#include <string>
#include <simgear/compiler.h>
#include "simgear/compiler.h"
#include <vector>
#include STL_STRING
SG_USING_STD(vector);
SG_USING_STD(string);