34 |
|
#include <fstream> |
35 |
|
#include "utils/ElementsTable.hpp" |
36 |
|
#include "utils/simError.h" |
37 |
+ |
#include "io/basic_ifstrstream.hpp" |
38 |
|
|
39 |
|
#if !HAVE_STRNCASECMP |
40 |
|
extern "C" int strncasecmp(const char *s1, const char *s2, size_t n); |
285 |
|
init_ = true; |
286 |
|
|
287 |
|
std::string buffer, subbuffer; |
288 |
< |
std::ifstream ifs1, ifs2, ifs3, ifs4, *ifsP; |
288 |
> |
ifstrstream ifs1, ifs2, ifs3, ifs4, *ifsP; |
289 |
|
// First, look for an environment variable |
290 |
|
if (getenv(envvar_.c_str()) != NULL) { |
291 |
|
buffer = getenv(envvar_.c_str()); |