Xerces_autoconf_config.borland.hpp

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 /*
00019  * $Id: Xerces_autoconf_config.borland.hpp 673306 2008-07-02 07:28:14Z amassari $
00020  */
00021 
00022 #if !defined(XERCESC_INCLUDE_GUARD_XERCES_AUTOCONFIG_CONFIG_HPP)
00023 #define XERCESC_INCLUDE_GUARD_XERCES_AUTOCONFIG_CONFIG_HPP
00024 
00025 //
00026 // There are two primary xerces configuration header files:
00027 //
00028 //  Xerces_autoconf_config.hpp
00029 //
00030 //      For configuration of items that must be accessable
00031 //  through public headers. This file has limited information
00032 //  and carefully works to avoid collision of macro names, etc.
00033 //
00034 //  This file is included by XercesDefs.h.
00035 //  This version of the file is specific for Borland C++
00036 //  family of compilers
00037 //
00038 //  config.h
00039 //
00040 //      This file is not used with Borland C++; the macros
00041 //  it would specify are instead hardcoded in the makefiles
00042 //
00043 
00044 #include <basetsd.h>
00045 
00046 // ---------------------------------------------------------------------------
00047 //  These defines have been hardcoded for the Borland C++ compilers
00048 // ---------------------------------------------------------------------------
00049 #undef XERCES_AUTOCONF
00050 #undef XERCES_HAVE_SYS_TYPES_H
00051 #undef XERCES_HAVE_INTTYPES_H
00052 
00053 #define XERCES_S16BIT_INT   signed short
00054 #define XERCES_U16BIT_INT   unsigned short
00055 #define XERCES_S32BIT_INT   INT32
00056 #define XERCES_U32BIT_INT   UINT32
00057 #define XERCES_S64BIT_INT   INT64
00058 #define XERCES_U64BIT_INT   UINT64
00059 
00060 #define XERCES_SIZEOF_INT   4
00061 #define XERCES_SIZEOF_LONG  4
00062 #define XERCES_SIZEOF_INT64 8
00063 
00064 #define XERCES_XMLCH_T      wchar_t
00065 
00066 #define XERCES_SIZE_T       SIZE_T
00067 #define XERCES_SSIZE_T      SSIZE_T
00068 
00069 #define XERCES_HAS_CPP_NAMESPACE    1
00070 #define XERCES_STD_NAMESPACE        1
00071 #define XERCES_NEW_IOSTREAMS        1
00072 #undef XERCES_NO_NATIVE_BOOL
00073 #define XERCES_LSTRSUPPORT          1
00074 
00075 #ifdef XERCES_STATIC_LIBRARY
00076 #define XERCES_PLATFORM_EXPORT
00077 #define XERCES_PLATFORM_IMPORT
00078 #else
00079 #define XERCES_PLATFORM_EXPORT __declspec(dllexport)
00080 #define XERCES_PLATFORM_IMPORT __declspec(dllimport)
00081 #define DLL_EXPORT
00082 #endif
00083 
00084 #define XERCES_NO_MATCHING_DELETE_OPERATOR
00085 #define XERCES_NEED_XMEMORY_VIRTUAL_DESTRUCTOR
00086 
00087 // ---------------------------------------------------------------------------
00088 //  XMLSize_t is the unsigned integral type.
00089 // ---------------------------------------------------------------------------
00090 typedef XERCES_SIZE_T               XMLSize_t;
00091 typedef XERCES_SSIZE_T              XMLSSize_t;
00092 
00093 // ---------------------------------------------------------------------------
00094 //  Define our version of the XML character
00095 // ---------------------------------------------------------------------------
00096 typedef XERCES_XMLCH_T              XMLCh;
00097 
00098 // ---------------------------------------------------------------------------
00099 //  Define unsigned 16, 32, and 64 bit integers
00100 // ---------------------------------------------------------------------------
00101 typedef XERCES_U16BIT_INT           XMLUInt16;
00102 typedef XERCES_U32BIT_INT           XMLUInt32;
00103 typedef XERCES_U64BIT_INT           XMLUInt64;
00104 
00105 // ---------------------------------------------------------------------------
00106 //  Define signed 16, 32, and 64 bit integers
00107 // ---------------------------------------------------------------------------
00108 typedef XERCES_S16BIT_INT           XMLInt16;
00109 typedef XERCES_S32BIT_INT           XMLInt32;
00110 typedef XERCES_S64BIT_INT           XMLInt64;
00111 
00112 // ---------------------------------------------------------------------------
00113 //  XMLFilePos is the type used to represent a file position.
00114 // ---------------------------------------------------------------------------
00115 typedef XMLUInt64                   XMLFilePos;
00116 
00117 // ---------------------------------------------------------------------------
00118 //  XMLFileLoc is the type used to represent a file location (line/column).
00119 // ---------------------------------------------------------------------------
00120 typedef XMLUInt64                   XMLFileLoc;
00121 
00122 // ---------------------------------------------------------------------------
00123 //  Force on the Xerces debug token if it is on in the build environment
00124 // ---------------------------------------------------------------------------
00125 #if defined(_DEBUG)
00126 #define XERCES_DEBUG
00127 #endif
00128 
00129 #endif

Generated on Wed Sep 24 16:36:33 2008 for Xerces-C++ by  doxygen 1.5.4