1 | /* Licensed to the Apache Software Foundation (ASF) under one or more
|
---|
2 | * contributor license agreements. See the NOTICE file distributed with
|
---|
3 | * this work for additional information regarding copyright ownership.
|
---|
4 | * The ASF licenses this file to You under the Apache License, Version 2.0
|
---|
5 | * (the "License"); you may not use this file except in compliance with
|
---|
6 | * the License. You may obtain a copy of the License at
|
---|
7 | *
|
---|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
9 | *
|
---|
10 | * Unless required by applicable law or agreed to in writing, software
|
---|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
---|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
13 | * See the License for the specific language governing permissions and
|
---|
14 | * limitations under the License.
|
---|
15 | */
|
---|
16 |
|
---|
17 |
|
---|
18 | #ifndef LOG4CXX_PRIVATE_LOG4CXX_H
|
---|
19 | #define LOG4CXX_PRIVATE_LOG4CXX_H
|
---|
20 |
|
---|
21 |
|
---|
22 | /* GENERATED FILE WARNING! DO NOT EDIT log4cxx.h
|
---|
23 | *
|
---|
24 | * You must modify log4cxx.hw instead.
|
---|
25 | *
|
---|
26 | *
|
---|
27 | * This is the Win32 specific version of log4cxx.h.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #include <log4cxx/log4cxx.h>
|
---|
31 |
|
---|
32 | #if !defined(LOG4CXX) && !defined(LOG4CXX_TEST)
|
---|
33 | #error "log4cxx/private/log4cxx.h should only be used within log4cxx and tests implementation"
|
---|
34 | #endif
|
---|
35 |
|
---|
36 |
|
---|
37 | #if !defined(__BORLANDC__)
|
---|
38 | #define LOG4CXX_RETURN_AFTER_THROW 1
|
---|
39 | #else
|
---|
40 | #define LOG4CXX_RETURN_AFTER_THROW 0
|
---|
41 | #endif
|
---|
42 |
|
---|
43 | #if defined(_WIN32_WCE)
|
---|
44 | #define LOG4CXX_HAS_STD_LOCALE 0
|
---|
45 | #else
|
---|
46 | #define LOG4CXX_HAS_STD_LOCALE 1
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #define LOG4CXX_FORCE_WIDE_CONSOLE 1
|
---|
50 | #define LOG4CXX_FORCE_BYTE_CONSOLE 0
|
---|
51 |
|
---|
52 |
|
---|
53 | #if defined(_MSC_VER)
|
---|
54 | #define LOG4CXX_MEMSET_IOS_BASE 1
|
---|
55 | #endif
|
---|
56 |
|
---|
57 | #if !defined(_WIN32_WCE)
|
---|
58 | #define LOG4CXX_HAVE_ODBC 1
|
---|
59 | #if defined(__BORLANDC__)
|
---|
60 | #define LOG4CXX_HAS_MBSRTOWCS 0
|
---|
61 | #else
|
---|
62 | #define LOG4CXX_HAS_MBSRTOWCS 1
|
---|
63 | #endif
|
---|
64 | #else
|
---|
65 | #define LOG4CXX_HAVE_ODBC 0
|
---|
66 | #define LOG4CXX_HAS_MBSRTOWCS 0
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #define LOG4CXX_HAS_FWIDE 1
|
---|
70 | #define LOG4CXX_HAS_WCSTOMBS 1
|
---|
71 |
|
---|
72 | #define LOG4CXX_CHARSET_UTF8 0
|
---|
73 | #define LOG4CXX_CHARSET_ISO88591 0
|
---|
74 | #define LOG4CXX_CHARSET_USASCII 0
|
---|
75 | #define LOG4CXX_CHARSET_EBCDIC 0
|
---|
76 |
|
---|
77 |
|
---|
78 | #define LOG4CXX_HAVE_LIBESMTP 0
|
---|
79 | #define LOG4CXX_HAVE_SYSLOG 0
|
---|
80 |
|
---|
81 | #define LOG4CXX_WIN32_THREAD_FMTSPEC "0x%.8x"
|
---|
82 | #define LOG4CXX_APR_THREAD_FMTSPEC "0x%pt"
|
---|
83 |
|
---|
84 | #endif
|
---|