diff options
author | fluxgen <fluxgen> | 2005-02-13 16:33:49 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2005-02-13 16:33:49 (GMT) |
commit | 8e0a3300ad91af096771a6ff805cb0698a9950d7 (patch) | |
tree | 575739432bdd150024fb809ab62a61ccad73bdfe /src | |
parent | 4a7d0b8434e20d306a670d87cdec8cfe6fd308c5 (diff) | |
download | fluxbox-8e0a3300ad91af096771a6ff805cb0698a9950d7.zip fluxbox-8e0a3300ad91af096771a6ff805cb0698a9950d7.tar.bz2 |
stringstream
Diffstat (limited to 'src')
-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 | ||