diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-16 18:15:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-21 16:40:06 +0300 |
commit | fc2234b87f4ce29be0e556c6f3b085b749b7d71b (patch) | |
tree | a56f6807aa0378c9dd58286f073e57ad748891ad /libxerces-c/xercesc/export-template-instantiations.patch | |
parent | 5d559799f0815e5bd2f510d91607a7ef1b20e3a0 (diff) |
Add implementation
Diffstat (limited to 'libxerces-c/xercesc/export-template-instantiations.patch')
-rw-r--r-- | libxerces-c/xercesc/export-template-instantiations.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libxerces-c/xercesc/export-template-instantiations.patch b/libxerces-c/xercesc/export-template-instantiations.patch new file mode 100644 index 0000000..a62de95 --- /dev/null +++ b/libxerces-c/xercesc/export-template-instantiations.patch @@ -0,0 +1,29 @@ +diff --git a/libxerces-c/xercesc/util/Janitor.hpp b/libxerces-c/xercesc/util/Janitor.hpp +index cf06e67..da970bf 100644 +--- a/libxerces-c/xercesc/util/Janitor.hpp ++++ b/libxerces-c/xercesc/util/Janitor.hpp +@@ -155,8 +155,8 @@ private : + }; + + #if defined(__GNUC__) || (! defined(_AIX) && ! defined(__hpux) && ! defined(__sun)) +-XERCES_TEMPLATE_EXTERN template class XMLUTIL_EXPORT ArrayJanitor<XMLByte>; +-XERCES_TEMPLATE_EXTERN template class XMLUTIL_EXPORT ArrayJanitor<XMLCh>; ++extern template class XERCES_PLATFORM_DECEXPORT ArrayJanitor<XMLByte>; ++extern template class XERCES_PLATFORM_DECEXPORT ArrayJanitor<XMLCh>; + #endif + + XERCES_CPP_NAMESPACE_END +diff --git a/libxerces-c/xercesc/util/JanitorExports.cpp b/libxerces-c/xercesc/util/JanitorExports.cpp +index ec35bea..024434f 100644 +--- a/libxerces-c/xercesc/util/JanitorExports.cpp ++++ b/libxerces-c/xercesc/util/JanitorExports.cpp +@@ -19,7 +19,7 @@ + + XERCES_CPP_NAMESPACE_BEGIN + +-template class ArrayJanitor<XMLByte>; +-template class ArrayJanitor<XMLCh>; ++template class XERCES_PLATFORM_DEFEXPORT ArrayJanitor<XMLByte>; ++template class XERCES_PLATFORM_DEFEXPORT ArrayJanitor<XMLCh>; + + XERCES_CPP_NAMESPACE_END |