/*
* Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2002, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef _INCLUDE_LOG4CPP_CONFIG_WIN32_H
#define _INCLUDE_LOG4CPP_CONFIG_WIN32_H 1
/* manually edited from include/log4cpp/config.h */
/* Define if you have the syslog function. */
/* #undef LOG4CPP_HAVE_SYSLOG */
/* Define if you have the `ftime' function. */
#ifndef LOG4CPP_HAVE_FTIME
#define LOG4CPP_HAVE_FTIME 1
#endif
/* Define if you have the `gettimeofday' function. */
/* #undef LOG4CPP_HAVE_GETTIMEOFDAY */
/* define if the compiler has int64_t */
#ifndef LOG4CPP_HAVE_INT64_T
#define LOG4CPP_HAVE_INT64_T
typedef __int64 int64_t;
/* define if the compiler has in_addr_t */
#ifndef LOG4CPP_HAVE_IN_ADDR_T
#define LOG4CPP_HAVE_IN_ADDR_T
#ifndef u_long
typedef unsigned long u_long;
#endif
/* u_long is the type of in_addr.s_addr */
typedef u_long in_addr_t;
/* u_short is the type of sockaddr_in.sin_port */
// typedef u_short in_port_t;
#endif
#if defined(_MSC_VER) && _MSC_VER < 1300
#define LOG4CPP_MISSING_INT64_OSTREAM_OP
#endif
#endif
/* Define if you have the <io.h> header file. */
#ifndef LOG4CPP_HAVE_IO_H
#define LOG4CPP_HAVE_IO_H 1
#endif
/* Define if you have the <unistd.h> header file. */
/* #undef LOG4CPP_HAVE_UNISTD_H */
/* Define if you have the idsa library (-lidsa). */
/* #undef LOG4CPP_HAVE_LIBIDSA */
/* Define if you have the `strcasecmp' function. */
/* #undef LOG4CPP_HAVE_STRCASECMP */
/* Name of package */
#ifndef LOG4CPP_PACKAGE
#define LOG4CPP_PACKAGE "log4cpp"
#endif
/* Version number of package */
#ifndef LOG4CPP_VERSION
#define LOG4CPP_VERSION "1.0"
#endif
/* define if the compiler implements namespaces */
#ifndef LOG4CPP_HAVE_NAMESPACES
#define LOG4CPP_HAVE_NAMESPACES 1
#endif
/* define if the compiler has stringstream */
#ifndef LOG4CPP_HAVE_SSTREAM
#define LOG4CPP_HAVE_SSTREAM 1
#endif
#if defined(_MSC_VER)
# if _MSC_VER < 1300
# define LOG4CPP_HAS_WCHAR_T 0
# else
# define LOG4CPP_HAS_WCHAR_T 1
# endif
#else
# define LOG4CPP_HAS_WCHAR_T 1
#endif
/* define if the C library has snprintf */
#ifndef LOG4CPP_HAVE_SNPRINTF
#define LOG4CPP_HAVE_SNPRINTF 1
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1300
#define LOG4CPP_HAVE_LOCALTIME_R 1
#endif
/* define to get around problems with ERROR in windows.h */
#ifndef LOG4CPP_FIX_ERROR_COLLISION
#define LOG4CPP_FIX_ERROR_COLLISION 1
#endif
/* define WIN32 for Borland */
#ifndef WIN32
#define WIN32
#endif
/* use threads */
#ifndef LOG4CPP_HAVE_THREADING
#define LOG4CPP_HAVE_THREADING
#endif
/* use ms threads */
#ifndef LOG4CPP_USE_MSTHREADS
#define LOG4CPP_USE_MSTHREADS
#endif
/* supply DLL main */
#ifndef LOG4CPP_SUPPLY_DLLMAIN
#define LOG4CPP_SUPPLY_DLLMAIN
#endif
/* MSVCs <cstdlib> and <cstring> headers are broken in the sense that they
put functions in the global namespace instead of std::
The #defines below enable a workaround for MSVC 6 and lower. If MSVC 7
is still broken please adjust the _MSC_VER version check and report it.
See also bug report #628211.
*/
#if defined(_MSC_VER) && _MSC_VER < 1300
#ifndef LOG4CPP_CSTDLIB_NOT_IN_STD
#define LOG4CPP_CSTDLIB_NOT_IN_STD
#endif
#ifndef LOG4CPP_CSTRING_NOT_IN_STD
#define LOG4CPP_CSTRING_NOT_IN_STD
#endif
#ifndef LOG4CPP_CTIME_NOT_IN_STD
#define LOG4CPP_CTIME_NOT_IN_STD
#endif
#ifndef LOG4CPP_CMATH_NOT_IN_STD
#define LOG4CPP_CMATH_NOT_IN_STD
#endif
#endif
/* define mode_t. Move to Portability.hh if more platforms need it */
#if !defined(__BORLANDC__)
typedef int mode_t;
#endif
#if defined(_MSC_VER) && _MSC_VER == 1310
// warning C4275: interface non dll class 'std::runtime_error' utilis�e comme base
// d'une interface dll class 'log4cpp::ConfigureFailure'
#pragma warning(disable: 4275)
#endif
/* _INCLUDE_LOG4CPP_CONFIG_WIN32_H */
#endif
VS2015编译的log4cpp动态库
3星 · 超过75%的资源 需积分: 41 184 浏览量
2018-01-16
20:08:31
上传
评论 2
收藏 1.08MB RAR 举报
Wite_Chen
- 粉丝: 30
- 资源: 15
最新资源
- 基于Matlab的恶劣天气交通标志识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的霍夫曼变换的表盘示数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的车道线识别系统 +源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的教室人数统计系统带Gui界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的教室人数统计系统带Gui界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB 的霍夫曼变换答题卡识别源码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab+bp神经网络的神经网络汉字识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的运动目标跟踪系统+源代码+全部数据+文档说明+详细注释(高分课程设计)
- 基于Matlab的人脸考勤系统+源代码+全部数据+文档说明+详细注释(高分课程设计)
- 基于Matlab的异常行为检测+源代码+全部数据+文档说明+详细注释(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈