fixed config.h problems

This commit is contained in:
mes5k 2004-10-28 16:41:10 +00:00
parent ef39ac7999
commit 1375557476
2 changed files with 17 additions and 7 deletions

View File

@ -26,14 +26,19 @@
#include <string>
#include <vector>
#include <tclap/Arg.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef HAVE_SSTREAM
#include <sstream>
#elif HAVE_SSTREAM
#include <strstream>
#else
#define HAVE_SSTREAM
#endif
#include <tclap/Arg.h>
#if defined(HAVE_SSTREAM)
#include <sstream>
#elif defined(HAVE_STRSTREAM)
#include <strstream>
#endif
namespace TCLAP {

View File

@ -26,15 +26,20 @@
#include <string>
#include <vector>
#include <tclap/Arg.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#else
#define HAVE_SSTREAM
#endif
#if defined(HAVE_SSTREAM)
#include <sstream>
#elif defined(HAVE_STRSTREAM)
#include <strstream>
#endif
#include <tclap/Arg.h>
namespace TCLAP {
template<class T> class ValueArg;