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