Xerces-C++  3.2.2
Xerces_autoconf_config.hpp
Go to the documentation of this file.
1 /* src/xercesc/util/Xerces_autoconf_config.hpp. Generated from Xerces_autoconf_config.hpp.in by configure. */
2 /*
3  * Licensed to the Apache Software Foundation (ASF) under one or more
4  * contributor license agreements. See the NOTICE file distributed with
5  * this work for additional information regarding copyright ownership.
6  * The ASF licenses this file to You under the Apache License, Version 2.0
7  * (the "License"); you may not use this file except in compliance with
8  * the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 /*
20  * $Id: Xerces_autoconf_config.hpp.in 1826420 2018-03-10 21:01:56Z rleigh $
21  */
22 
23 //
24 // There are two primary xerces configuration header files:
25 //
26 // Xerces_autoconf_config.hpp
27 //
28 // For configuration of items that must be accessable
29 // through public headers. This file has limited information
30 // and carefully works to avoid collision of macro names, etc.
31 //
32 // This file is included by XercesDefs.h. In the event
33 // of a non-configured platform, a similar header specific
34 // to the platform will be included instead.
35 //
36 // config.h
37 //
38 // Generalized autoconf header file, with much more
39 // information, used to supply configuration information
40 // for use in implementation files.
41 //
42 // For autoconf based builds, this header is configured from by the configure
43 // script from the .in template file of the same name.
44 
45 
46 #ifndef XERCES_AUTOCONFIG_CONFIG_HPP
47 #define XERCES_AUTOCONFIG_CONFIG_HPP
48 
49 // ---------------------------------------------------------------------------
50 // These defines are set by configure as appropriate for the platform.
51 // ---------------------------------------------------------------------------
52 
53 #define XERCES_AUTOCONF 1
54 #define XERCES_HAVE_CSTDINT 1
55 #define XERCES_HAVE_STDINT_H 1
56 #define XERCES_HAVE_SYS_TYPES_H 1
57 #define XERCES_HAVE_INTTYPES_H 1
58 /* #undef XERCES_HAVE_INTRIN_H */
59 #define XERCES_HAVE_EMMINTRIN_H 1
60 /* #undef XERCES_INCLUDE_WCHAR_H */
61 
62 #define XERCES_S16BIT_INT int16_t
63 #define XERCES_S32BIT_INT int32_t
64 #define XERCES_S64BIT_INT int64_t
65 #define XERCES_U16BIT_INT uint16_t
66 #define XERCES_U32BIT_INT uint32_t
67 #define XERCES_U64BIT_INT uint64_t
68 #define XERCES_XMLCH_T uint16_t
69 #define XERCES_SIZE_T size_t
70 #define XERCES_SSIZE_T ssize_t
71 
72 #define XERCES_HAS_CPP_NAMESPACE 1
73 #define XERCES_STD_NAMESPACE 1
74 #define XERCES_NEW_IOSTREAMS 1
75 /* #undef XERCES_NO_NATIVE_BOOL */
76 #define XERCES_LSTRSUPPORT 1
77 
78 /* #undef XERCES_HAVE_CPUID_INTRINSIC */
79 #define XERCES_HAVE_SSE2_INTRINSIC 1
80 #define XERCES_HAVE_GETCPUID 1
81 
82 #define XERCES_PLATFORM_EXPORT
83 #define XERCES_PLATFORM_IMPORT
84 #define XERCES_TEMPLATE_EXTERN extern
85 
86 /* #undef XERCES_NO_MATCHING_DELETE_OPERATOR */
87 
88 // ---------------------------------------------------------------------------
89 // Include standard headers, if available, that we may rely on below.
90 // ---------------------------------------------------------------------------
91 #if defined(__cplusplus) && XERCES_HAVE_CSTDINT
92 # include <cstdint>
93 #elif XERCES_HAVE_STDINT_H
94 # if defined(__cplusplus)
95 # define __STDC_LIMIT_MACROS
96 # endif
97 # include <stdint.h>
98 #endif
99 #if XERCES_HAVE_INTTYPES_H
100 # include <inttypes.h>
101 #endif
102 #if XERCES_HAVE_SYS_TYPES_H
103 # include <sys/types.h>
104 #endif
105 #if XERCES_INCLUDE_WCHAR_H
106 # include <wchar.h>
107 #endif
108 
109 // ---------------------------------------------------------------------------
110 // XMLSize_t is the unsigned integral type.
111 // ---------------------------------------------------------------------------
114 #define XERCES_SIZE_MAX SIZE_MAX
115 #define XERCES_SSIZE_MAX SSIZE_MAX
116 
117 // ---------------------------------------------------------------------------
118 // Define our version of the XML character
119 // ---------------------------------------------------------------------------
121 
122 // ---------------------------------------------------------------------------
123 // Define unsigned 16, 32, and 64 bit integers
124 // ---------------------------------------------------------------------------
128 
129 // ---------------------------------------------------------------------------
130 // Define signed 16, 32, and 64 bit integers
131 // ---------------------------------------------------------------------------
135 
136 // ---------------------------------------------------------------------------
137 // XMLFilePos is the type used to represent a file position.
138 // ---------------------------------------------------------------------------
140 
141 // ---------------------------------------------------------------------------
142 // XMLFileLoc is the type used to represent a file location (line/column).
143 // ---------------------------------------------------------------------------
145 
146 // ---------------------------------------------------------------------------
147 // Force on the Xerces debug token if it is on in the build environment
148 // ---------------------------------------------------------------------------
149 #if defined(_DEBUG)
150 #define XERCES_DEBUG
151 #endif
152 
153 #endif
uint16_t XMLUInt16
Definition: Xerces_autoconf_config.hpp:125
#define XERCES_SSIZE_T
Definition: Xerces_autoconf_config.hpp:70
XMLUInt64 XMLFileLoc
Definition: Xerces_autoconf_config.hpp:144
#define XERCES_SIZE_T
Definition: Xerces_autoconf_config.hpp:69
int64_t XMLInt64
Definition: Xerces_autoconf_config.hpp:134
#define XERCES_U64BIT_INT
Definition: Xerces_autoconf_config.hpp:67
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.hpp:139
uint32_t XMLUInt32
Definition: Xerces_autoconf_config.hpp:126
#define XERCES_U32BIT_INT
Definition: Xerces_autoconf_config.hpp:66
#define XERCES_S64BIT_INT
Definition: Xerces_autoconf_config.hpp:64
ssize_t XMLSSize_t
Definition: Xerces_autoconf_config.hpp:113
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
#define XERCES_U16BIT_INT
Definition: Xerces_autoconf_config.hpp:65
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
#define XERCES_S16BIT_INT
Definition: Xerces_autoconf_config.hpp:62
int32_t XMLInt32
Definition: Xerces_autoconf_config.hpp:133
#define XERCES_S32BIT_INT
Definition: Xerces_autoconf_config.hpp:63
uint64_t XMLUInt64
Definition: Xerces_autoconf_config.hpp:127
int16_t XMLInt16
Definition: Xerces_autoconf_config.hpp:132
#define XERCES_XMLCH_T
Definition: Xerces_autoconf_config.hpp:68