Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:14

0001 /* src/xercesc/util/Xerces_autoconf_config.hpp.  Generated from Xerces_autoconf_config.hpp.in by configure.  */
0002 /*
0003  * Licensed to the Apache Software Foundation (ASF) under one or more
0004  * contributor license agreements.  See the NOTICE file distributed with
0005  * this work for additional information regarding copyright ownership.
0006  * The ASF licenses this file to You under the Apache License, Version 2.0
0007  * (the "License"); you may not use this file except in compliance with
0008  * the License.  You may obtain a copy of the License at
0009  * 
0010  *      http://www.apache.org/licenses/LICENSE-2.0
0011  * 
0012  * Unless required by applicable law or agreed to in writing, software
0013  * distributed under the License is distributed on an "AS IS" BASIS,
0014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0015  * See the License for the specific language governing permissions and
0016  * limitations under the License.
0017  */
0018 
0019 /*
0020  * $Id$
0021  */
0022 
0023 //
0024 // There are two primary xerces configuration header files:
0025 //
0026 //  Xerces_autoconf_config.hpp
0027 //
0028 //      For configuration of items that must be accessable
0029 //  through public headers. This file has limited information
0030 //  and carefully works to avoid collision of macro names, etc.
0031 //
0032 //  This file is included by XercesDefs.h. In the event
0033 //  of a non-configured platform, a similar header specific
0034 //  to the platform will be included instead.
0035 //
0036 //  config.h                    
0037 //
0038 //      Generalized autoconf header file, with much more
0039 //  information, used to supply configuration information
0040 //  for use in implementation files.
0041 //
0042 // For autoconf based builds, this header is configured from by the configure
0043 // script from the .in template file of the same name.
0044 
0045 
0046 #ifndef XERCES_AUTOCONFIG_CONFIG_HPP
0047 #define XERCES_AUTOCONFIG_CONFIG_HPP
0048 
0049 // ---------------------------------------------------------------------------
0050 //  These defines are set by configure as appropriate for the platform.
0051 // ---------------------------------------------------------------------------
0052 
0053 #define XERCES_AUTOCONF 1
0054 #define XERCES_HAVE_CSTDINT 1
0055 #define XERCES_HAVE_STDINT_H 1
0056 #define XERCES_HAVE_SYS_TYPES_H 1
0057 #define XERCES_HAVE_INTTYPES_H 1
0058 /* #undef XERCES_HAVE_INTRIN_H */
0059 #define XERCES_HAVE_EMMINTRIN_H 1
0060 /* #undef XERCES_INCLUDE_WCHAR_H */
0061 
0062 #define XERCES_S16BIT_INT int16_t
0063 #define XERCES_S32BIT_INT int32_t
0064 #define XERCES_S64BIT_INT int64_t
0065 #define XERCES_U16BIT_INT uint16_t
0066 #define XERCES_U32BIT_INT uint32_t
0067 #define XERCES_U64BIT_INT uint64_t
0068 #define XERCES_XMLCH_T char16_t
0069 #define XERCES_SIZE_T size_t
0070 #define XERCES_SSIZE_T ssize_t
0071 
0072 #define XERCES_HAS_CPP_NAMESPACE 1
0073 #define XERCES_STD_NAMESPACE 1
0074 #define XERCES_NEW_IOSTREAMS 1
0075 /* #undef XERCES_NO_NATIVE_BOOL */
0076 #define XERCES_LSTRSUPPORT 1
0077 
0078 /* #undef XERCES_HAVE_CPUID_INTRINSIC */
0079 #define XERCES_HAVE_SSE2_INTRINSIC 1
0080 #define XERCES_HAVE_GETCPUID 1
0081 
0082 #define XERCES_PLATFORM_EXPORT 
0083 #define XERCES_PLATFORM_IMPORT 
0084 #define XERCES_TEMPLATE_EXTERN extern
0085 
0086 /* #undef XERCES_NO_MATCHING_DELETE_OPERATOR */
0087 
0088 // ---------------------------------------------------------------------------
0089 //  Include standard headers, if available, that we may rely on below.
0090 // ---------------------------------------------------------------------------
0091 #if defined(__cplusplus) && XERCES_HAVE_CSTDINT
0092 #   include <cstdint>
0093 #elif XERCES_HAVE_STDINT_H
0094 #       if defined(__cplusplus)
0095 #           define __STDC_LIMIT_MACROS
0096 #       endif
0097 #       include <stdint.h>
0098 #endif
0099 #if XERCES_HAVE_INTTYPES_H
0100 #   include <inttypes.h>
0101 #endif
0102 #if XERCES_HAVE_SYS_TYPES_H
0103 #   include <sys/types.h>
0104 #endif
0105 #if XERCES_INCLUDE_WCHAR_H
0106 #   include <wchar.h>
0107 #endif
0108 
0109 // ---------------------------------------------------------------------------
0110 //  XMLSize_t is the unsigned integral type.
0111 // ---------------------------------------------------------------------------
0112 typedef XERCES_SIZE_T               XMLSize_t;
0113 typedef XERCES_SSIZE_T              XMLSSize_t;
0114 #define XERCES_SIZE_MAX SIZE_MAX
0115 #define XERCES_SSIZE_MAX SSIZE_MAX
0116 
0117 // ---------------------------------------------------------------------------
0118 //  Define our version of the XML character
0119 // ---------------------------------------------------------------------------
0120 typedef XERCES_XMLCH_T              XMLCh;
0121 
0122 // ---------------------------------------------------------------------------
0123 //  Define unsigned 16, 32, and 64 bit integers
0124 // ---------------------------------------------------------------------------
0125 typedef XERCES_U16BIT_INT           XMLUInt16;
0126 typedef XERCES_U32BIT_INT           XMLUInt32;
0127 typedef XERCES_U64BIT_INT           XMLUInt64;
0128 
0129 // ---------------------------------------------------------------------------
0130 //  Define signed 16, 32, and 64 bit integers
0131 // ---------------------------------------------------------------------------
0132 typedef XERCES_S16BIT_INT           XMLInt16;
0133 typedef XERCES_S32BIT_INT           XMLInt32;
0134 typedef XERCES_S64BIT_INT           XMLInt64;
0135 
0136 // ---------------------------------------------------------------------------
0137 //  XMLFilePos is the type used to represent a file position.
0138 // ---------------------------------------------------------------------------
0139 typedef XMLUInt64                   XMLFilePos;
0140 
0141 // ---------------------------------------------------------------------------
0142 //  XMLFileLoc is the type used to represent a file location (line/column).
0143 // ---------------------------------------------------------------------------
0144 typedef XMLUInt64                   XMLFileLoc;
0145 
0146 // ---------------------------------------------------------------------------
0147 //  Force on the Xerces debug token if it is on in the build environment
0148 // ---------------------------------------------------------------------------
0149 #if defined(_DEBUG)
0150 #define XERCES_DEBUG
0151 #endif
0152 
0153 #endif