/usr/include/log4shib/Portability.hh is in liblog4shib-dev 1.0.9-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /*
* Portability.hh
*
* Copyright 2001, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2001, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef _LOG4SHIB_PORTABILITY_HH
#define _LOG4SHIB_PORTABILITY_HH
#if defined (_MSC_VER) || defined(__BORLANDC__)
# if defined (LOG4SHIB_STLPORT_AND_BOOST_BUILD)
# include <log4shib/config-win32-stlport-boost.h>
# else
# include <log4shib/config-win32.h>
# endif
#else
#if defined(__OPENVMS__)
# include <log4shib/config-openvms.h>
#else
# include <log4shib/config.h>
#endif
#endif
#include <log4shib/Export.hh>
#if defined(_MSC_VER)
# pragma warning( disable : 4786 ) // 255 char debug symbol limit
# pragma warning( disable : 4290 ) // throw specifier not implemented
# pragma warning( disable : 4251 ) // "class XXX should be exported"
#endif
#ifndef LOG4SHIB_HAVE_SSTREAM
#include <strstream>
namespace std {
class LOG4SHIB_EXPORT ostringstream : public ostrstream {
public:
std::string str();
};
}
#endif
#endif
|