source: icXML/icXML-devel/src/xercesc/util/Xerces_autoconf_config.hpp.in @ 2732

Last change on this file since 2732 was 2722, checked in by cameron, 7 years ago

Original Xerces files with import mods for icxercesc

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