Fixes for native Irix compilers.

This commit is contained in:
curt 2001-04-02 00:23:46 +00:00
parent a84a88bf09
commit b8e93e6099
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@
# define STL_FSTREAM <fstream.h>
# define STL_STDEXCEPT <stdexcept>
# define STL_STRING <string>
# define STL_STRSTREAM <strstream>
# define STL_STRSTREAM <strstream.h>
#endif // Native SGI compilers

View File

@ -112,7 +112,7 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts)
State &st = state();
if (_level == 0) {
if (string(name) != "PropertyList") {
if (string(name) != (string)"PropertyList") {
SG_LOG(SG_INPUT, SG_ALERT, "Root element name is " <<
name << "; expected PropertyList");
_ok = false;