Xerces-C++  3.2.0
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 1801083 2017-07-06 17:33:12Z scantor $
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 #define XERCES_AUTOCONF 1
53 #define XERCES_HAVE_CSTDINT 1
54 #define XERCES_HAVE_STDINT_H 1
55 #define XERCES_HAVE_SYS_TYPES_H 1
56 #define XERCES_HAVE_INTTYPES_H 1
57 /* #undef XERCES_HAVE_INTRIN_H */
58 #define XERCES_HAVE_EMMINTRIN_H 1
59 /* #undef XERCES_INCLUDE_WCHAR_H */
60 
61 #define XERCES_S16BIT_INT int16_t
62 #define XERCES_S32BIT_INT int32_t
63 #define XERCES_S64BIT_INT int64_t
64 #define XERCES_U16BIT_INT uint16_t
65 #define XERCES_U32BIT_INT uint32_t
66 #define XERCES_U64BIT_INT uint64_t
67 #define XERCES_XMLCH_T char16_t
68 #define XERCES_SIZE_T size_t
69 #define XERCES_SSIZE_T ssize_t
70 
71 #define XERCES_HAS_CPP_NAMESPACE 1
72 #define XERCES_STD_NAMESPACE 1
73 #define XERCES_NEW_IOSTREAMS 1
74 /* #undef XERCES_NO_NATIVE_BOOL */
75 #define XERCES_LSTRSUPPORT 1
76 
77 /* #undef XERCES_HAVE_CPUID_INTRINSIC */
78 #define XERCES_HAVE_SSE2_INTRINSIC 1
79 #define XERCES_HAVE_GETCPUID 1
80 
81 #define XERCES_PLATFORM_EXPORT
82 #define XERCES_PLATFORM_IMPORT
83 
84 /* #undef XERCES_NO_MATCHING_DELETE_OPERATOR */
85 
86 // ---------------------------------------------------------------------------
87 // Include standard headers, if available, that we may rely on below.
88 // ---------------------------------------------------------------------------
89 #if defined(__cplusplus) && XERCES_HAVE_CSTDINT
90 # include <cstdint>
91 #elif XERCES_HAVE_STDINT_H
92 # if defined(__cplusplus)
93 # define __STDC_LIMIT_MACROS
94 # endif
95 # include <stdint.h>
96 #endif
97 #if XERCES_HAVE_INTTYPES_H
98 # include <inttypes.h>
99 #endif
100 #if XERCES_HAVE_SYS_TYPES_H
101 # include <sys/types.h>
102 #endif
103 #if XERCES_INCLUDE_WCHAR_H
104 # include <wchar.h>
105 #endif
106 
107 // ---------------------------------------------------------------------------
108 // XMLSize_t is the unsigned integral type.
109 // ---------------------------------------------------------------------------
112 #define XERCES_SIZE_MAX SIZE_MAX
113 #define XERCES_SSIZE_MAX SSIZE_MAX
114 
115 // ---------------------------------------------------------------------------
116 // Define our version of the XML character
117 // ---------------------------------------------------------------------------
119 
120 // ---------------------------------------------------------------------------
121 // Define unsigned 16, 32, and 64 bit integers
122 // ---------------------------------------------------------------------------
126 
127 // ---------------------------------------------------------------------------
128 // Define signed 16, 32, and 64 bit integers
129 // ---------------------------------------------------------------------------
133 
134 // ---------------------------------------------------------------------------
135 // XMLFilePos is the type used to represent a file position.
136 // ---------------------------------------------------------------------------
138 
139 // ---------------------------------------------------------------------------
140 // XMLFileLoc is the type used to represent a file location (line/column).
141 // ---------------------------------------------------------------------------
143 
144 // ---------------------------------------------------------------------------
145 // Force on the Xerces debug token if it is on in the build environment
146 // ---------------------------------------------------------------------------
147 #if defined(_DEBUG)
148 #define XERCES_DEBUG
149 #endif
150 
151 #endif
char16_t XMLCh
Definition: Xerces_autoconf_config.hpp:118
uint16_t XMLUInt16
Definition: Xerces_autoconf_config.hpp:123
#define XERCES_SSIZE_T
Definition: Xerces_autoconf_config.hpp:69
XMLUInt64 XMLFileLoc
Definition: Xerces_autoconf_config.hpp:142
#define XERCES_SIZE_T
Definition: Xerces_autoconf_config.hpp:68
int64_t XMLInt64
Definition: Xerces_autoconf_config.hpp:132
#define XERCES_U64BIT_INT
Definition: Xerces_autoconf_config.hpp:66
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.hpp:137
uint32_t XMLUInt32
Definition: Xerces_autoconf_config.hpp:124
#define XERCES_U32BIT_INT
Definition: Xerces_autoconf_config.hpp:65
#define XERCES_S64BIT_INT
Definition: Xerces_autoconf_config.hpp:63
ssize_t XMLSSize_t
Definition: Xerces_autoconf_config.hpp:111
#define XERCES_U16BIT_INT
Definition: Xerces_autoconf_config.hpp:64
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:110
#define XERCES_S16BIT_INT
Definition: Xerces_autoconf_config.hpp:61
int32_t XMLInt32
Definition: Xerces_autoconf_config.hpp:131
#define XERCES_S32BIT_INT
Definition: Xerces_autoconf_config.hpp:62
uint64_t XMLUInt64
Definition: Xerces_autoconf_config.hpp:125
int16_t XMLInt16
Definition: Xerces_autoconf_config.hpp:130
#define XERCES_XMLCH_T
Definition: Xerces_autoconf_config.hpp:67