Added fixes for tests which are unsupported on some platforms.

[SVN r19548]
This commit is contained in:
John Maddock
2003-08-12 12:03:25 +00:00
parent 4e412a1774
commit ccc9c16e93
5 changed files with 20 additions and 14 deletions

View File

@ -40,6 +40,7 @@ using std::endl;
#include <boost/regex/v4/fileiter.hpp>
#endif
#include "jgrep.h"
#ifndef BOOST_REGEX_NO_FILEITER
#ifndef JM_ALGO_INCLUDED
// HP and SGI STL's use <algo.h> instead
@ -282,7 +283,20 @@ int main(int argc, char * argv[])
return 0;
}
#else
#include <iostream>
int main(int argc, char * argv[])
{
std::cout <<
"\n<note>\n"
"This functionality is not available on with this compiler on this platform.\n"
"</note>\n";
return 0;
}
#endif