Modified: xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/XercesLib/XercesLib.vcproj URL: http://svn.apache.org/viewcvs/xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/XercesLib/XercesLib.vcproj?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/XercesLib/XercesLib.vcproj (original) +++ xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/XercesLib/XercesLib.vcproj Sat Jul 2 12:55:13 2005 @@ -4,6 +4,7 @@ Version="7.10" Name="XercesLib" ProjectGUID="{152CE948-F659-4206-A50A-1D2B9658EF96}" + RootNamespace="XercesLib" SccProjectName="" SccLocalPath=""> <Platforms> @@ -24,7 +25,7 @@ Optimization="1" InlineFunctionExpansion="2" AdditionalIncludeDirectories="..\..\..\..\..\src" - PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;XERCES_BUILDING_LIBRARY;XERCES_NO_CONFIGURE_SUPPORT;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_WIN32_MSGLOADER;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH" + PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;XERCES_BUILDING_LIBRARY;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_WIN32_MSGLOADER;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH;HAVE_STRICMP;HAVE_STRNICMP;HAVE_LIMITS_H;HAVE_SYS_TIMEB_H;HAVE_FTIME" StringPooling="TRUE" RuntimeLibrary="2" EnableFunctionLevelLinking="TRUE" @@ -92,7 +93,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\..\..\src" - PreprocessorDefinitions="_CRTDBG_MAP_ALLOC;_DEBUG;WIN32;_WINDOWS;XERCES_BUILDING_LIBRARY;XERCES_NO_CONFIGURE_SUPPORT;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_WIN32_MSGLOADER;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH" + PreprocessorDefinitions="_CRTDBG_MAP_ALLOC;_DEBUG;WIN32;_WINDOWS;XERCES_BUILDING_LIBRARY;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_WIN32_MSGLOADER;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH;HAVE_STRICMP;HAVE_STRNICMP;HAVE_LIMITS_H;HAVE_SYS_TIMEB_H;HAVE_FTIME" RuntimeLibrary="3" PrecompiledHeaderFile=".\..\..\..\..\..\Build\Win32\VC7.1\Debug\obj/XercesLib.pch" AssemblerListingLocation=".\..\..\..\..\..\Build\Win32\VC7.1\Debug\obj/" @@ -155,7 +156,7 @@ Optimization="1" InlineFunctionExpansion="2" AdditionalIncludeDirectories="..\..\..\..\..\src" - PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;XERCES_STATIC_LIBRARY;XERCES_BUILDING_LIBRARY;XERCES_NO_CONFIGURE_SUPPORT;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_MSGLOADER_INMEMORY;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH" + PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;XERCES_STATIC_LIBRARY;XERCES_BUILDING_LIBRARY;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_MSGLOADER_INMEMORY;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH;HAVE_STRICMP;HAVE_STRNICMP;HAVE_LIMITS_H;HAVE_SYS_TIMEB_H;HAVE_FTIME" StringPooling="TRUE" RuntimeLibrary="0" PrecompiledHeaderFile=".\..\..\..\..\..\Build\Win32\VC7.1\StaticRelease\obj/XercesLib.pch" @@ -205,7 +206,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\..\..\src" - PreprocessorDefinitions="_CRTDBG_MAP_ALLOC;_DEBUG;WIN32;_WINDOWS;XERCES_STATIC_LIBRARY;XERCES_BUILDING_LIBRARY;XERCES_NO_CONFIGURE_SUPPORT;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_MSGLOADER_INMEMORY;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH" + PreprocessorDefinitions="_CRTDBG_MAP_ALLOC;_DEBUG;WIN32;_WINDOWS;XERCES_STATIC_LIBRARY;XERCES_BUILDING_LIBRARY;XERCES_USE_TRANSCODER_WINDOWS;XERCES_USE_MSGLOADER_INMEMORY;XERCES_USE_NETACCESSOR_WINSOCK;XERCES_USE_FILEMGR_WINDOWS;XERCES_USE_MUTEXMGR_WINDOWS;XERCES_USE_ATOMICOPMGR_WINDOWS;XERCES_PATH_DELIMITER_BACKSLASH;HAVE_STRICMP;HAVE_STRNICMP;HAVE_LIMITS_H;HAVE_SYS_TIMEB_H;HAVE_FTIME" RuntimeLibrary="1" PrecompiledHeaderFile=".\..\..\..\..\..\Build\Win32\VC7.1\StaticDebug\obj/XercesLib.pch" AssemblerListingLocation=".\..\..\..\..\..\Build\Win32\VC7.1\StaticDebug\obj/" @@ -468,6 +469,45 @@ RelativePath="..\..\..\..\..\src\xercesc\util\ValueVectorOf.hpp"> </File> <File + RelativePath="..\..\..\..\..\src\xercesc\util\Xerces_autoconf_config.hpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="echo copy $(InputDir)\$(InputName).msvc.hpp $(InputPath) +copy $(InputDir)\$(InputName).msvc.hpp $(InputPath)" + AdditionalDependencies="$(InputDir)\$(InputName).msvc.hpp" + Outputs="$(InputPath)"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="echo copy $(InputDir)\$(InputName).msvc.hpp $(InputPath) +copy $(InputDir)\$(InputName).msvc.hpp $(InputPath)" + AdditionalDependencies="$(InputDir)\$(InputName).msvc.hpp" + Outputs="$(InputPath)"/> + </FileConfiguration> + <FileConfiguration + Name="Static Release|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="echo copy $(InputDir)\$(InputName).msvc.hpp $(InputPath) +copy $(InputDir)\$(InputName).msvc.hpp $(InputPath)" + AdditionalDependencies="$(InputDir)\$(InputName).msvc.hpp" + Outputs="$(InputPath)"/> + </FileConfiguration> + <FileConfiguration + Name="Static Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + CommandLine="echo copy $(InputDir)\$(InputName).msvc.hpp $(InputPath) +copy $(InputDir)\$(InputName).msvc.hpp $(InputPath)" + AdditionalDependencies="$(InputDir)\$(InputName).msvc.hpp" + Outputs="$(InputPath)"/> + </FileConfiguration> + </File> + <File RelativePath="..\..\..\..\..\src\xercesc\util\XercesDefs.hpp"> </File> <File @@ -1591,6 +1631,9 @@ RelativePath="..\..\..\..\..\src\xercesc\sax\DTDHandler.hpp"> </File> <File + RelativePath="..\..\..\..\..\src\xercesc\sax\Dummy.cpp"> + </File> + <File RelativePath="..\..\..\..\..\src\xercesc\sax\EntityResolver.hpp"> </File> <File @@ -2251,6 +2294,9 @@ </File> <File RelativePath="..\..\..\..\..\src\xercesc\sax2\DefaultHandler.hpp"> + </File> + <File + RelativePath="..\..\..\..\..\src\xercesc\sax2\sax2Dummy.cpp"> </File> <File RelativePath="..\..\..\..\..\src\xercesc\sax2\SAX2XMLFilter.hpp">
Modified: xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/xerces-com/xerces-com.vcproj URL: http://svn.apache.org/viewcvs/xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/xerces-com/xerces-com.vcproj?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/xerces-com/xerces-com.vcproj (original) +++ xerces/c/trunk/Projects/Win32/VC7.1/xerces-all/xerces-com/xerces-com.vcproj Sat Jul 2 12:55:13 2005 @@ -26,7 +26,7 @@ Optimization="1" InlineFunctionExpansion="1" AdditionalIncludeDirectories="..\..\..\..\..\src,..\..\..\..\..\src\xercesc\com" - PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_USRDLL;XERCES_NO_CONFIGURE_SUPPORT" + PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_USRDLL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" @@ -94,7 +94,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\..\..\src,..\..\..\..\..\src\xercesc\com" - PreprocessorDefinitions="_DEBUG;_ATL_DEBUG_INTERFACES;_ATL_DEBUG_QI;_ATL_DEBUG_REFCOUNT;WIN32;_WINDOWS;_USRDLL;XERCES_NO_CONFIGURE_SUPPORT" + PreprocessorDefinitions="_DEBUG;_ATL_DEBUG_INTERFACES;_ATL_DEBUG_QI;_ATL_DEBUG_REFCOUNT;WIN32;_WINDOWS;_USRDLL" BasicRuntimeChecks="3" RuntimeLibrary="1" UsePrecompiledHeader="3" @@ -165,7 +165,7 @@ Optimization="1" InlineFunctionExpansion="1" AdditionalIncludeDirectories="..\..\..\..\..\src,..\..\..\..\..\src\xercesc\com" - PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_USRDLL;XERCES_NO_CONFIGURE_SUPPORT;XERCES_STATIC_LIBRARY" + PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;_USRDLL;XERCES_STATIC_LIBRARY" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" @@ -231,7 +231,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\..\..\src,..\..\..\..\..\src\xercesc\com" - PreprocessorDefinitions="_DEBUG;_ATL_DEBUG_INTERFACES;_ATL_DEBUG_QI;_ATL_DEBUG_REFCOUNT;WIN32;_WINDOWS;_USRDLL;XERCES_NO_CONFIGURE_SUPPORT;XERCES_STATIC_LIBRARY" + PreprocessorDefinitions="_DEBUG;_ATL_DEBUG_INTERFACES;_ATL_DEBUG_QI;_ATL_DEBUG_REFCOUNT;WIN32;_WINDOWS;_USRDLL;XERCES_STATIC_LIBRARY" BasicRuntimeChecks="3" RuntimeLibrary="1" UsePrecompiledHeader="3" Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp (original) +++ xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp Sat Jul 2 12:55:13 2005 @@ -25,8 +25,6 @@ // --------------------------------------------------------------------------- #if HAVE_CONFIG_H # include <config.h> -#else -# include <xercesc/util/Xerces_no_autoconf_config.hpp> #endif #if HAVE_LIMITS_H Modified: xerces/c/trunk/src/xercesc/util/XMLString.cpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/XMLString.cpp?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/XMLString.cpp (original) +++ xerces/c/trunk/src/xercesc/util/XMLString.cpp Sat Jul 2 12:55:13 2005 @@ -24,8 +24,6 @@ // --------------------------------------------------------------------------- #if HAVE_CONFIG_H # include <config.h> -#else -# include <xercesc/util/Xerces_no_autoconf_config.hpp> #endif #if !HAVE_STRICMP Modified: xerces/c/trunk/src/xercesc/util/XMemory.cpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/XMemory.cpp?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/XMemory.cpp (original) +++ xerces/c/trunk/src/xercesc/util/XMemory.cpp Sat Jul 2 12:55:13 2005 @@ -43,7 +43,7 @@ return (char*)block + headerSize; } -#if defined(XML_VISUALCPP) +#if defined(XERCES_MFC_SUPPORT) void* XMemory::operator new(size_t size, const char* /*file*/, int /*line*/) { Modified: xerces/c/trunk/src/xercesc/util/XMemory.hpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/XMemory.hpp?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/XMemory.hpp (original) +++ xerces/c/trunk/src/xercesc/util/XMemory.hpp Sat Jul 2 12:55:13 2005 @@ -53,7 +53,7 @@ */ void* operator new(size_t size); -#if defined(XML_VISUALCPP) +#if defined(XERCES_MFC_SUPPORT) /** * This method overrides the MFC debug version of the operator new * @@ -132,10 +132,11 @@ } //@} +#if defined(XERCES_NEED_XMEMORY_VIRTUAL_DESTRUCTOR) virtual ~XMemory() { } - +#endif }; XERCES_CPP_NAMESPACE_END Modified: xerces/c/trunk/src/xercesc/util/XercesDefs.hpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/XercesDefs.hpp?rev=208870&r1=208869&r2=208870&view=diff ============================================================================== --- xerces/c/trunk/src/xercesc/util/XercesDefs.hpp (original) +++ xerces/c/trunk/src/xercesc/util/XercesDefs.hpp Sat Jul 2 12:55:13 2005 @@ -39,16 +39,12 @@ // --------------------------------------------------------------------------- // -// If this is an autoconf configured build, we include Xerces_autoconf_config. +// If this is an autoconf configured build, we include Xerces_autoconf_config.hpp // Otherwise we include a preconfigured config appropriate for the particular -// platform. +// platform that the specific makefile should copy over. // -#ifdef XERCES_NO_CONFIGURE_SUPPORT -# include <xercesc/util/Xerces_no_autoconf_config.hpp> -#else // If the next line generates an error then you haven't run ./configure -# include <xercesc/util/Xerces_autoconf_config.hpp> -#endif +#include <xercesc/util/Xerces_autoconf_config.hpp> // --------------------------------------------------------------------------- // Include the Xerces version information; this is kept in a separate file to Added: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp?rev=208870&view=auto ============================================================================== --- xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp (added) +++ xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp Sat Jul 2 12:55:13 2005 @@ -0,0 +1,109 @@ +/* + * Copyright 1999-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * $Id$ + */ + +// +// There are two primary xerces configuration header files: +// +// Xerces_autoconf_config.hpp -- For configuration of items that must be accessable +// through public headers. This file has limited information +// and carefully works to avoid collision of macro names, etc. +// +// This file is included by XercesDefs.h. +// This version of the file is specific for Borland C++ +// family of compilers +// +// config.h -- This file is not used with Borland C++; the macros +// it would specify are instead hardcoded in the makefiles +// + +#ifndef XERCES_AUTOCONFIG_CONFIG_HPP +#define XERCES_AUTOCONFIG_CONFIG_HPP + +#include <basetsd.h> + +// --------------------------------------------------------------------------- +// These defines have been hardcoded for the Borland C++ compilers +// --------------------------------------------------------------------------- +#undef XERCES_AUTOCONF +#undef XERCES_HAVE_SYS_TYPES_H +#undef XERCES_HAVE_INTTYPES_H + +#define XERCES_S16BIT_INT INT16 +#define XERCES_S32BIT_INT INT32 +#define XERCES_U16BIT_INT UINT16 +#define XERCES_U32BIT_INT UINT32 +#define XERCES_XMLCH_T wchar_t +#define XERCES_SIZE_T SIZE_T +#define XERCES_SSIZE_T SSIZE_T + +#define XERCES_HAS_CPP_NAMESPACE 1 +#define XERCES_STD_NAMESPACE 1 +#define XERCES_NEW_IOSTREAMS 1 +#undef XERCES_NO_NATIVE_BOOL +#define XERCES_LSTRSUPPORT 1 + +#ifdef XERCES_STATIC_LIBRARY +#define XERCES_PLATFORM_EXPORT +#define XERCES_PLATFORM_IMPORT +#else +#define XERCES_PLATFORM_EXPORT __declspec(dllexport) +#define XERCES_PLATFORM_IMPORT __declspec(dllimport) +#define DLL_EXPORT +#endif + +#define XERCES_NO_MATCHING_DELETE_OPERATOR +#define XERCES_NEED_XMEMORY_VIRTUAL_DESTRUCTOR + +// --------------------------------------------------------------------------- +// XMLSize_t is the unsigned integral type. +// --------------------------------------------------------------------------- +typedef XERCES_SIZE_T XMLSize_t; +typedef XERCES_SSIZE_T XMLSSize_t; + +// --------------------------------------------------------------------------- +// Define our version of the XML character +// --------------------------------------------------------------------------- +typedef XERCES_XMLCH_T XMLCh; + +// --------------------------------------------------------------------------- +// Define unsigned 16 and 32 bit integers +// --------------------------------------------------------------------------- +typedef XERCES_U16BIT_INT XMLUInt16; +typedef XERCES_U32BIT_INT XMLUInt32; + +// --------------------------------------------------------------------------- +// Define signed 32 bit integers +// --------------------------------------------------------------------------- +typedef XERCES_S32BIT_INT XMLInt32; + +// --------------------------------------------------------------------------- +// XMLFilePos is the type used to represent a file position. +// --------------------------------------------------------------------------- +typedef XERCES_U32BIT_INT XMLFilePos; + + +// --------------------------------------------------------------------------- +// Force on the Xerces debug token if it is on in the build environment +// --------------------------------------------------------------------------- +#if defined(_DEBUG) +#define XERCES_DEBUG +#endif + +#endif Propchange: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.borland.hpp ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp?rev=208870&view=auto ============================================================================== --- xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp (added) +++ xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp Sat Jul 2 12:55:13 2005 @@ -0,0 +1,112 @@ +/* + * Copyright 1999-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* + * $Id$ + */ + +// +// There are two primary xerces configuration header files: +// +// Xerces_autoconf_config.hpp -- For configuration of items that must be accessable +// through public headers. This file has limited information +// and carefully works to avoid collision of macro names, etc. +// +// This file is included by XercesDefs.h. +// This version of the file is specific for Microsoft Visual C++ +// family of compilers +// +// config.h -- This file is not used with Microsoft Visual C++; the macros +// it would specify are instead hardcoded in the makefiles +// + +#ifndef XERCES_AUTOCONFIG_CONFIG_HPP +#define XERCES_AUTOCONFIG_CONFIG_HPP + +#include <basetsd.h> + +// silence the warning "while compiling class-template member function xxxx : identifier was truncated to '255' +// characters in the browser information" +#pragma warning( disable: 4786 ) + +// --------------------------------------------------------------------------- +// These defines have been hardcoded for the Microsoft Visual C++ compilers +// --------------------------------------------------------------------------- +#undef XERCES_AUTOCONF +#undef XERCES_HAVE_SYS_TYPES_H +#undef XERCES_HAVE_INTTYPES_H + +#define XERCES_S16BIT_INT INT16 +#define XERCES_S32BIT_INT INT32 +#define XERCES_U16BIT_INT UINT16 +#define XERCES_U32BIT_INT UINT32 +#define XERCES_XMLCH_T unsigned short +#define XERCES_SIZE_T SIZE_T +#define XERCES_SSIZE_T SSIZE_T + +#define XERCES_HAS_CPP_NAMESPACE 1 +#define XERCES_STD_NAMESPACE 1 +#define XERCES_NEW_IOSTREAMS 1 +#undef XERCES_NO_NATIVE_BOOL +#define XERCES_LSTRSUPPORT 1 + +#ifdef XERCES_STATIC_LIBRARY +#define XERCES_PLATFORM_EXPORT +#define XERCES_PLATFORM_IMPORT +#else +#define XERCES_PLATFORM_EXPORT __declspec(dllexport) +#define XERCES_PLATFORM_IMPORT __declspec(dllimport) +#define DLL_EXPORT +#endif + +#define XERCES_MFC_SUPPORT + +// --------------------------------------------------------------------------- +// XMLSize_t is the unsigned integral type. +// --------------------------------------------------------------------------- +typedef XERCES_SIZE_T XMLSize_t; +typedef XERCES_SSIZE_T XMLSSize_t; + +// --------------------------------------------------------------------------- +// Define our version of the XML character +// --------------------------------------------------------------------------- +typedef XERCES_XMLCH_T XMLCh; + +// --------------------------------------------------------------------------- +// Define unsigned 16 and 32 bit integers +// --------------------------------------------------------------------------- +typedef XERCES_U16BIT_INT XMLUInt16; +typedef XERCES_U32BIT_INT XMLUInt32; + +// --------------------------------------------------------------------------- +// Define signed 32 bit integers +// --------------------------------------------------------------------------- +typedef XERCES_S32BIT_INT XMLInt32; + +// --------------------------------------------------------------------------- +// XMLFilePos is the type used to represent a file position. +// --------------------------------------------------------------------------- +typedef XERCES_U32BIT_INT XMLFilePos; + + +// --------------------------------------------------------------------------- +// Force on the Xerces debug token if it is on in the build environment +// --------------------------------------------------------------------------- +#if defined(_DEBUG) +#define XERCES_DEBUG +#endif + +#endif Propchange: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.msvc.hpp ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
