Rename IRIX to irix_string in simgear/compatibility and assign "simgear/compatibility/irix_string" to STL_STRING for IRIX
This commit is contained in:
@@ -30,4 +30,4 @@ include_HEADERS = \
|
|||||||
new \
|
new \
|
||||||
streambuf \
|
streambuf \
|
||||||
\
|
\
|
||||||
IRIX
|
irix_string
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
#ifndef __SGI_HXX
|
#ifndef __SGI_HXX
|
||||||
#define __SGI_HXX
|
#define __SGI_HXX 1
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@@ -40,4 +42,6 @@ operator+(const char* lhs, const std::string& rhs)
|
|||||||
return std::string(lhs) + rhs;
|
return std::string(lhs) + rhs;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !__SGI_HXX
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#endif /* !__SGI_HXX */
|
||||||
+1
-3
@@ -290,8 +290,6 @@
|
|||||||
#if defined ( sgi ) && !defined( __GNUC__ )
|
#if defined ( sgi ) && !defined( __GNUC__ )
|
||||||
# define SG_HAVE_NATIVE_SGI_COMPILERS
|
# define SG_HAVE_NATIVE_SGI_COMPILERS
|
||||||
|
|
||||||
#include <simgear/compatibility/IRIX>
|
|
||||||
|
|
||||||
# define SG_EXPLICIT_FUNCTION_TMPL_ARGS
|
# define SG_EXPLICIT_FUNCTION_TMPL_ARGS
|
||||||
# define SG_CLASS_PARTIAL_SPECIALIZATION
|
# define SG_CLASS_PARTIAL_SPECIALIZATION
|
||||||
# define SG_NEED_AUTO_PTR
|
# define SG_NEED_AUTO_PTR
|
||||||
@@ -309,7 +307,7 @@
|
|||||||
# define STL_ITERATOR <iterator>
|
# define STL_ITERATOR <iterator>
|
||||||
# define STL_FSTREAM <fstream>
|
# define STL_FSTREAM <fstream>
|
||||||
# define STL_STDEXCEPT <stdexcept>
|
# define STL_STDEXCEPT <stdexcept>
|
||||||
# define STL_STRING <string>
|
# define STL_STRING <simgear/compatibility/irix_string>
|
||||||
# define STL_STRSTREAM <strstream>
|
# define STL_STRSTREAM <strstream>
|
||||||
|
|
||||||
#pragma set woff 1001,1012,1014,1116,1155,1172,1174
|
#pragma set woff 1001,1012,1014,1116,1155,1172,1174
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#ifndef SG_TABBED_VALUES_HXX
|
#ifndef SG_TABBED_VALUES_HXX
|
||||||
#define SG_TABBED_VALUES_HXX
|
#define SG_TABBED_VALUES_HXX
|
||||||
|
|
||||||
#include <vector>
|
#include <simgear/compiler.h>
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#include "simgear/compiler.h"
|
#include <vector>
|
||||||
|
#include STL_STRING
|
||||||
|
|
||||||
SG_USING_STD(vector);
|
SG_USING_STD(vector);
|
||||||
SG_USING_STD(string);
|
SG_USING_STD(string);
|
||||||
|
|||||||
Reference in New Issue
Block a user