Commits

Anonymous committed 1f21021

ENH: Improved header support to reduce number of macros needed on GCCXML command line. Now the macros defined by the SGI compiler when it runs should be sufficient.

Comments (0)

Files changed (2)

GCC_XML/MproInclude/ostream

-#ifndef __SGI_STL_OSTREAM_B
-#define __SGI_STL_OSTREAM_B
+#ifndef __SGI_STL_OSTREAM_GCCXML
+#define __SGI_STL_OSTREAM_GCCXML
 
 extern bool uncaught_exception();
 
 #include_next <ostream>
 
-#endif /* __SGI_STL_OSTREAM_B */
+#endif
 

GCC_XML/MproInclude/stl_config.h

+#ifndef __STL_CONFIG_H_GCCXML
+#define __STL_CONFIG_H_GCCXML
+
+#define _WCHAR_T
+#define _BOOL
+#define _TYPENAME_IS_KEYWORD
+#define _NAMESPACES
+#define _MEMBER_TEMPLATES
+#define _MEMBER_TEMPLATE_KEYWORD
+#define _EXPLICIT_IS_KEYWORD
+#define _WCHAR_T_IS_KEYWORD
+#define __STL_HAS_NAMESPACES
+#define __STL_USE_NEW_IOSTREAMS
+#define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
+#define _PARTIAL_SPECIALIZATION_OF_CLASS_TEMPLATES
+
+#include_next <stl_config.h>
+
+#endif
+