all repos — fluxbox @ c429bd1ac570169966eb87a372aeec04bb4569c3

custom fork of the fluxbox windowmanager

src/FbTk/stringstream.hh (raw)

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