aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/stringstream.hh
blob: e1884f2d03caa4cdd38d26ae26660e26c69d4a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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