/* This file is part of dvi2bitmap; see README for copyrights and licence */ #ifndef STRINGSTREAM_H_LOADED #define STRINGSTREAM_H_LOADED 1 #include #ifdef HAVE_SSTREAM #include #define SSTREAM ostringstream #define SS_C_STR(s) (s).str().c_str() #define SS_STRING(s) (s).str() using STD::ostringstream; #elif HAVE_STRSTREAM #include #define SSTREAM ostrstream #define SS_C_STR(s) (s).str() /* Add the end-of-string to the stringbuf and convert it to a string */ #define SS_STRING(s) ((s)<