diff options
Diffstat (limited to 'libxerces-c/xercesc/util')
-rw-r--r-- | libxerces-c/xercesc/util/.gitattributes | 2 | ||||
l--------- | libxerces-c/xercesc/util/Transcoders/MacOSUnicodeConverter | 1 | ||||
l--------- | libxerces-c/xercesc/util/Transcoders/Win32 | 1 | ||||
-rw-r--r-- | libxerces-c/xercesc/util/Xerces_autoconf_config.hpp | 11 |
4 files changed, 12 insertions, 3 deletions
diff --git a/libxerces-c/xercesc/util/.gitattributes b/libxerces-c/xercesc/util/.gitattributes new file mode 100644 index 0000000..05b35fc --- /dev/null +++ b/libxerces-c/xercesc/util/.gitattributes @@ -0,0 +1,2 @@ +FileManagers symlink=dir +regx symlink=dir diff --git a/libxerces-c/xercesc/util/Transcoders/MacOSUnicodeConverter b/libxerces-c/xercesc/util/Transcoders/MacOSUnicodeConverter new file mode 120000 index 0000000..5d4612d --- /dev/null +++ b/libxerces-c/xercesc/util/Transcoders/MacOSUnicodeConverter @@ -0,0 +1 @@ +../../../../upstream/src/xercesc/util/Transcoders/MacOSUnicodeConverter
\ No newline at end of file diff --git a/libxerces-c/xercesc/util/Transcoders/Win32 b/libxerces-c/xercesc/util/Transcoders/Win32 new file mode 120000 index 0000000..6ec82cb --- /dev/null +++ b/libxerces-c/xercesc/util/Transcoders/Win32 @@ -0,0 +1 @@ +../../../../upstream/src/xercesc/util/Transcoders/Win32
\ No newline at end of file diff --git a/libxerces-c/xercesc/util/Xerces_autoconf_config.hpp b/libxerces-c/xercesc/util/Xerces_autoconf_config.hpp index 2b088cf..e88b063 100644 --- a/libxerces-c/xercesc/util/Xerces_autoconf_config.hpp +++ b/libxerces-c/xercesc/util/Xerces_autoconf_config.hpp @@ -135,10 +135,15 @@ * type. Note that falling back to defining the XERCES_PLATFORM_IMPORT macro * as empty would work for both the static and shared libraries (being * sub-optimal for the later) but only for functions. Xerces-C++, however, - * also exports data symbols, which cannot be imported this way. Thus we, - * just issue an error. + * also exports data symbols, which cannot be imported this way. Thus, + * where matters (Windows), we just issue an error. */ -# error define LIBXERCES_C_STATIC or LIBXERCES_C_SHARED preprocessor macro to signal Xerces-C++ library type being linked +# ifdef _WIN32 +# error define LIBXERCES_C_STATIC or LIBXERCES_C_SHARED preprocessor macro to signal Xerces-C++ library type being linked +# else +# define XERCES_PLATFORM_IMPORT +# define XERCES_PLATFORM_DECEXPORT +# endif #endif #ifdef XERCES_DLL_EXPORT |