config-MinGW32.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_MINGW32_H
9 #define _INCLUDE_LOG4CPP_CONFIG_MINGW32_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 #define int64_t __int64
28 
29 /* define if the compiler has in_addr_t */
30 #ifndef LOG4CPP_HAVE_IN_ADDR_T
31 #define LOG4CPP_HAVE_IN_ADDR_T
32 
33 #ifndef u_long
34 typedef unsigned long u_long;
35 #endif
36 
37 /* u_long is the type of in_addr.s_addr */
38 typedef u_long in_addr_t;
39 
40 /* u_short is the type of sockaddr_in.sin_port */
41 // typedef u_short in_port_t;
42 
43 #endif
44 
45 #endif
46 
47 /* Define if you have the <io.h> header file. */
48 #ifndef LOG4CPP_HAVE_IO_H
49 #define LOG4CPP_HAVE_IO_H 1
50 #endif
51 
52 /* Define if you have the <unistd.h> header file. */
53 /* #undef LOG4CPP_HAVE_UNISTD_H */
54 
55 /* Define if you have the idsa library (-lidsa). */
56 /* #undef LOG4CPP_HAVE_LIBIDSA */
57 
58 /* Define if you have the `strcasecmp' function. */
59 /* #undef LOG4CPP_HAVE_STRCASECMP */
60 
61 /* Name of package */
62 #ifndef LOG4CPP_PACKAGE
63 #define LOG4CPP_PACKAGE "log4cpp"
64 #endif
65 
66 /* Version number of package */
67 #ifndef LOG4CPP_VERSION
68 #define LOG4CPP_VERSION "1.0"
69 #endif
70 
71 /* define if the compiler implements namespaces */
72 #ifndef LOG4CPP_HAVE_NAMESPACES
73 #define LOG4CPP_HAVE_NAMESPACES 1
74 #endif
75 
76 /* define if the compiler has stringstream */
77 #ifndef LOG4CPP_HAVE_SSTREAM
78 #define LOG4CPP_HAVE_SSTREAM 1
79 #endif
80 
81 #define LOG4CPP_HAS_WCHAR_T 0
82 
83 /* define if the C library has snprintf */
84 #ifndef LOG4CPP_HAVE_SNPRINTF
85 #define LOG4CPP_HAVE_SNPRINTF 1
86 #endif
87 
88 //#define LOG4CPP_HAVE_LOCALTIME_R 0
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 /* use threads */
96 #ifndef LOG4CPP_HAVE_THREADING
97 #define LOG4CPP_HAVE_THREADING
98 # if defined(LOG4CPP_STLPORT_AND_BOOST_BUILD)
99 # define LOG4CPP_USE_BOOSTTHREADS
100 # else
101 # define LOG4CPP_USE_MSTHREADS
102 # endif
103 #endif
104 
105 #endif
u_long in_addr_t
unsigned long u_long


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:10:00