From 8e0a3300ad91af096771a6ff805cb0698a9950d7 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Sun, 13 Feb 2005 16:33:49 +0000 Subject: stringstream --- src/FbTk/stringstream.hh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/FbTk/stringstream.hh diff --git a/src/FbTk/stringstream.hh b/src/FbTk/stringstream.hh new file mode 100644 index 0000000..e1884f2 --- /dev/null +++ b/src/FbTk/stringstream.hh @@ -0,0 +1,19 @@ +#ifndef FBTK_STRINGSTREAM_HH +#define FBTK_STRINGSTREAM_HH + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + +#ifdef HAVE_SSTREAM +#include <sstream> +#define FbTk_istringstream std::istringstream +#elif HAVE_STRSTREAM +#include <strstream> +#define FbTk_istringstream std::istrstream +#else +#error "You dont have sstream or strstream headers!" +#endif // HAVE_STRSTREAM + + +#endif // FBTK_STRINGSTREAM_HH -- cgit v0.11.2