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 <string>
#include <vector> #include <vector>
#include <tclap/Arg.h>
#ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#ifdef HAVE_SSTREAM #else
#include <sstream> #define HAVE_SSTREAM
#elif HAVE_SSTREAM
#include <strstream>
#endif #endif
#include <tclap/Arg.h> #if defined(HAVE_SSTREAM)
#include <sstream>
#elif defined(HAVE_STRSTREAM)
#include <strstream>
#endif
namespace TCLAP { namespace TCLAP {

View File

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