Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
log4cpp
config-win32-stlport-boost.h
Go to the documentation of this file.
1
/*
2
* Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
3
* Copyright 2002, Bastiaan Bakker. All rights reserved.
4
*
5
* See the COPYING file for the terms of usage and distribution.
6
*/
7
8
#ifndef _INCLUDE_LOG4CPP_CONFIG_WIN32_H
9
#define _INCLUDE_LOG4CPP_CONFIG_WIN32_H 1
10
11
/* manually edited from include/log4cpp/config.h */
12
13
/* Define if you have the syslog function. */
14
/* #undef LOG4CPP_HAVE_SYSLOG */
15
16
/* Define if you have the `ftime' function. */
17
#ifndef LOG4CPP_HAVE_FTIME
18
#define LOG4CPP_HAVE_FTIME 1
19
#endif
20
21
/* Define if you have the `gettimeofday' function. */
22
/* #undef LOG4CPP_HAVE_GETTIMEOFDAY */
23
24
/* define if the compiler has int64_t */
25
#ifndef LOG4CPP_HAVE_INT64_T
26
#define LOG4CPP_HAVE_INT64_T
27
28
#include <boost/cstdint.hpp>
29
using
boost::int64_t
;
30
31
#endif
32
33
/* define if the compiler has in_addr_t */
34
#ifndef LOG4CPP_HAVE_IN_ADDR_T
35
#define LOG4CPP_HAVE_IN_ADDR_T
36
37
#ifndef u_long
38
typedef
unsigned
long
u_long
;
39
#endif
40
41
/* u_long is the type of in_addr.s_addr */
42
typedef
u_long
in_addr_t
;
43
44
/* u_short is the type of sockaddr_in.sin_port */
45
// typedef u_short in_port_t;
46
47
#endif
48
49
/* Define if you have the <io.h> header file. */
50
#ifndef LOG4CPP_HAVE_IO_H
51
#define LOG4CPP_HAVE_IO_H 1
52
#endif
53
54
/* Define if you have the <unistd.h> header file. */
55
/* #undef LOG4CPP_HAVE_UNISTD_H */
56
57
/* Define if you have the idsa library (-lidsa). */
58
/* #undef LOG4CPP_HAVE_LIBIDSA */
59
60
/* Define if you have the `strcasecmp' function. */
61
/* #undef LOG4CPP_HAVE_STRCASECMP */
62
63
/* Name of package */
64
#ifndef LOG4CPP_PACKAGE
65
#define LOG4CPP_PACKAGE "log4cpp"
66
#endif
67
68
/* Version number of package */
69
#ifndef LOG4CPP_VERSION
70
#define LOG4CPP_VERSION "1.0"
71
#endif
72
73
/* define if the compiler implements namespaces */
74
#ifndef LOG4CPP_HAVE_NAMESPACES
75
#define LOG4CPP_HAVE_NAMESPACES 1
76
#endif
77
78
/* define if the compiler has stringstream */
79
#ifndef LOG4CPP_HAVE_SSTREAM
80
#define LOG4CPP_HAVE_SSTREAM 1
81
#endif
82
83
#if defined(_MSC_VER)
84
# if _MSC_VER < 1300
85
# define LOG4CPP_HAS_WCHAR_T 0
86
# else
87
# define LOG4CPP_HAS_WCHAR_T 1
88
# endif
89
#else
90
# define LOG4CPP_HAS_WCHAR_T 1
91
#endif
92
93
/* define if the C library has snprintf */
94
#ifndef LOG4CPP_HAVE_SNPRINTF
95
#define LOG4CPP_HAVE_SNPRINTF 1
96
#endif
97
98
#if defined(_MSC_VER) && _MSC_VER >= 1300
99
#define LOG4CPP_HAVE_LOCALTIME_R 1
100
#endif
101
102
/* define to get around problems with ERROR in windows.h */
103
#ifndef LOG4CPP_FIX_ERROR_COLLISION
104
#define LOG4CPP_FIX_ERROR_COLLISION 1
105
#endif
106
107
/* define WIN32 for Borland */
108
#ifndef WIN32
109
#define WIN32
110
#endif
111
112
/* use threads */
113
#ifndef LOG4CPP_HAVE_THREADING
114
#define LOG4CPP_HAVE_THREADING
115
#endif
116
117
/* use boost threads */
118
#ifndef LOG4CPP_USE_BOOSTTHREADS
119
#define LOG4CPP_USE_BOOSTTHREADS
120
#endif
121
122
/* supply DLL main */
123
#ifndef LOG4CPP_SUPPLY_DLLMAIN
124
#define LOG4CPP_SUPPLY_DLLMAIN
125
#endif
126
127
/* MSVCs <cstdlib> and <cstring> headers are broken in the sense that they
128
put functions in the global namespace instead of std::
129
The #defines below enable a workaround for MSVC 6 and lower. If MSVC 7
130
is still broken please adjust the _MSC_VER version check and report it.
131
See also bug report #628211.
132
*/
133
#if defined(_MSC_VER) && _MSC_VER < 1300
134
135
#ifndef LOG4CPP_CSTDLIB_NOT_IN_STD
136
#define LOG4CPP_CSTDLIB_NOT_IN_STD
137
#endif
138
139
#ifndef LOG4CPP_CSTRING_NOT_IN_STD
140
#define LOG4CPP_CSTRING_NOT_IN_STD
141
#endif
142
143
#ifndef LOG4CPP_CTIME_NOT_IN_STD
144
#define LOG4CPP_CTIME_NOT_IN_STD
145
#endif
146
147
#ifndef LOG4CPP_CMATH_NOT_IN_STD
148
#define LOG4CPP_CMATH_NOT_IN_STD
149
#endif
150
151
#endif
152
153
/* define mode_t. Move to Portability.hh if more platforms need it */
154
typedef
int
mode_t
;
155
156
/* _INCLUDE_LOG4CPP_CONFIG_WIN32_H */
157
#endif
in_addr_t
u_long in_addr_t
Definition:
config-win32-stlport-boost.h:42
mode_t
int mode_t
Definition:
config-win32-stlport-boost.h:154
int64_t
__int64 int64_t
Definition:
config-win32.h:27
u_long
unsigned long u_long
Definition:
config-MinGW32.h:34
u_long
unsigned long u_long
Definition:
config-win32-stlport-boost.h:38
log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:14:17