diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/stringstream.hh | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ | |||
1 | #ifndef FBTK_STRINGSTREAM_HH | ||
2 | #define FBTK_STRINGSTREAM_HH | ||
3 | |||
4 | #ifdef HAVE_CONFIG_H | ||
5 | #include "config.h" | ||
6 | #endif // HAVE_CONFIG_H | ||
7 | |||
8 | #ifdef HAVE_SSTREAM | ||
9 | #include <sstream> | ||
10 | #define FbTk_istringstream std::istringstream | ||
11 | #elif HAVE_STRSTREAM | ||
12 | #include <strstream> | ||
13 | #define FbTk_istringstream std::istrstream | ||
14 | #else | ||
15 | #error "You dont have sstream or strstream headers!" | ||
16 | #endif // HAVE_STRSTREAM | ||
17 | |||
18 | |||
19 | #endif // FBTK_STRINGSTREAM_HH | ||