00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _LOG4TANGO_PORTABILITY_H
00029 #define _LOG4TANGO_PORTABILITY_H
00030
00031 #if defined (_MSC_VER) || defined(__BORLANDC__)
00032 # include <log4tango/config-win32.h>
00033 #else
00034 # include <log4tango/config.h>
00035 #endif
00036
00037 #include <log4tango/Export.hh>
00038
00039 #if defined(_MSC_VER)
00040 # pragma warning( disable : 4786 ) // 255 char debug symbol limit
00041 # pragma warning( disable : 4290 ) // throw specifier not implemented
00042 # pragma warning( disable : 4251 ) // "class XXX should be exported"
00043 #endif
00044
00045 #ifndef LOG4TANGO_HAVE_SSTREAM
00046 #include <strstream>
00047 namespace std {
00048 class LOG4TANGO_EXPORT ostringstream : public ostrstream {
00049 public:
00050 std::string str();
00051 void str (const char*);
00052 };
00053 }
00054 #endif // LOG4TANGO_HAVE_SSTREAM
00055
00056 #endif // _LOG4TANGO_PORTABILITY_H