10#ifndef _LOG4CPP_PORTABILITY_HH
11#define _LOG4CPP_PORTABILITY_HH
15#if defined(_MSC_VER) || defined(__BORLANDC__)
16#if defined(LOG4CPP_STLPORT_AND_BOOST_BUILD)
17#include <log4cpp/config-win32-stlport-boost.h>
19#include <log4cpp/config-win32.h>
22#ifdef MSVC_MEMORY_LEAK_CHECK
23#define _CRTDBG_MAP_ALLOC
30#define DBG_NEW new (_NORMAL_BLOCK, __FILE__, __LINE__)
37#if defined(__OPENVMS__)
38#include <log4cpp/config-openvms.h>
40#if defined(__MINGW32__)
41#include <log4cpp/config-MinGW32.h>
43#include <log4cpp/config.h>
51#pragma warning(disable : 4786)
52#pragma warning(disable : 4290)
53#pragma warning(disable : 4251)
59#ifndef LOG4CPP_HAVE_SSTREAM
71#if defined(__cplusplus) && (__cplusplus >= 201103L)
72#define LOG4CPP_UNIQUE_PTR unique_ptr
73#define LOG4CPP_UNIQUE_PTR_MOVE(ptr) std::move(ptr)
75#define LOG4CPP_UNIQUE_PTR auto_ptr
76#define LOG4CPP_UNIQUE_PTR_MOVE(ptr) ptr
79#if defined(__cplusplus) && (__cplusplus >= 201703L)
80#define LOG4CPP_NOTHROW noexcept
82#define LOG4CPP_NOTHROW throw()
#define LOG4CPP_EXPORT
Definition Export.hh:26
Definition Portability.hh:62
std::string str()
Definition PortabilityImpl.cpp:19
Definition Portability.hh:61