stringstream
This commit is contained in:
parent
4a7d0b8434
commit
8e0a3300ad
1 changed files with 19 additions and 0 deletions
19
src/FbTk/stringstream.hh
Normal file
19
src/FbTk/stringstream.hh
Normal file
|
@ -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
|
Loading…
Reference in a new issue