STYLE: Work-around std:: check since this is a platform test.

This commit is contained in:
Brad King 2008-01-31 08:32:08 -05:00
parent e3c2c1923a
commit 065f23ba38
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
#ifdef TEST_KWSYS_STL_HAVE_STD #ifdef TEST_KWSYS_STL_HAVE_STD
#include <list> #include <list>
void f(std::list<int>*) {} void f(std ::list<int>*) {}
int main() { return 0; } int main() { return 0; }
#endif #endif
@ -40,7 +40,7 @@ int main() { return 0; }
#ifdef TEST_KWSYS_IOS_HAVE_STD #ifdef TEST_KWSYS_IOS_HAVE_STD
#include <iosfwd> #include <iosfwd>
void f(std::ostream*) {} void f(std ::ostream*) {}
int main() { return 0; } int main() { return 0; }
#endif #endif
@ -50,8 +50,8 @@ int main() { return 0; }
# error "GCC 2.96 stringstream is buggy" # error "GCC 2.96 stringstream is buggy"
#endif #endif
int main() int main()
{ {
std::ostringstream ostr; std ::ostringstream ostr;
ostr << "hello"; ostr << "hello";
if(ostr.str().size() == 5) if(ostr.str().size() == 5)
{ {