Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Portability.hh

Go to the documentation of this file.
00001 /* 00002 * Portability.hh 00003 * 00004 * Copyright 2001, LifeLine Networks BV (www.lifeline.nl). All rights reserved. 00005 * Copyright 2001, Bastiaan Bakker. All rights reserved. 00006 * 00007 * See the COPYING file for the terms of usage and distribution. 00008 */ 00009 00010 #ifndef _LOG4CPP_PORTABILITY_HH 00011 #define _LOG4CPP_PORTABILITY_HH 00012 00013 #if defined (_MSC_VER) || defined(__BORLANDC__) 00014 # include <log4cpp/config-win32.h> 00015 #else 00016 #if defined(__OPENVMS__) 00017 # include <log4cpp/config-openvms.h> 00018 #else 00019 # include <log4cpp/config.h> 00020 #endif 00021 #endif 00022 00023 #include <log4cpp/Export.hh> 00024 00025 #if defined(_MSC_VER) 00026 # pragma warning( disable : 4786 ) // 255 char debug symbol limit 00027 # pragma warning( disable : 4290 ) // throw specifier not implemented 00028 # pragma warning( disable : 4251 ) // "class XXX should be exported" 00029 #endif 00030 00031 #ifndef LOG4CPP_HAVE_SSTREAM 00032 #include <strstream> 00033 namespace std { 00034 class LOG4CPP_EXPORT ostringstream : public ostrstream { 00035 public: 00036 std::string str(); 00037 }; 00038 } 00039 #endif 00040 00041 #endif

Generated on Fri Jun 4 21:26:08 2004 for log4cpp by doxygen 1.3.7