10#ifndef _LOG4CPP_PORTABILITY_HH
11#define _LOG4CPP_PORTABILITY_HH
13#if defined (_MSC_VER) || defined(__BORLANDC__)
14# if defined (LOG4CPP_STLPORT_AND_BOOST_BUILD)
15# include <log4cpp/config-win32-stlport-boost.h>
17# include <log4cpp/config-win32.h>
20#ifdef MSVC_MEMORY_LEAK_CHECK
21#define _CRTDBG_MAP_ALLOC
28 #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
35#if defined(__OPENVMS__)
36# include <log4cpp/config-openvms.h>
38# if defined(__MINGW32__)
39# include <log4cpp/config-MinGW32.h>
41# include <log4cpp/config.h>
49# pragma warning( disable : 4786 )
50# pragma warning( disable : 4290 )
51# pragma warning( disable : 4251 )
57# ifndef LOG4CPP_HAVE_SSTREAM
69#if defined(__cplusplus) && (__cplusplus >= 201103L)
70#define LOG4CPP_UNIQUE_PTR unique_ptr
71#define LOG4CPP_UNIQUE_PTR_MOVE(ptr) std::move(ptr)
73#define LOG4CPP_UNIQUE_PTR auto_ptr
74#define LOG4CPP_UNIQUE_PTR_MOVE(ptr) ptr
77#if defined(__cplusplus) && (__cplusplus >= 201703L)
78#define LOG4CPP_NOTHROW noexcept
80#define LOG4CPP_NOTHROW throw()
#define LOG4CPP_EXPORT
Definition Export.hh:26
Definition Portability.hh:60
Definition Portability.hh:59