aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xerces-c/remove-dll-export-macro.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/xerces-c/remove-dll-export-macro.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/xerces-c/remove-dll-export-macro.patch')
-rw-r--r--vcpkg/ports/xerces-c/remove-dll-export-macro.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/xerces-c/remove-dll-export-macro.patch b/vcpkg/ports/xerces-c/remove-dll-export-macro.patch
new file mode 100644
index 0000000..f6f0e69
--- /dev/null
+++ b/vcpkg/ports/xerces-c/remove-dll-export-macro.patch
@@ -0,0 +1,27 @@
+diff --git a/src/xercesc/util/XercesDefs.hpp b/src/xercesc/util/XercesDefs.hpp
+index 8071260..cd6bd68 100644
+--- a/src/xercesc/util/XercesDefs.hpp
++++ b/src/xercesc/util/XercesDefs.hpp
+@@ -133,7 +133,7 @@ typedef XMLUInt32 UCS4Ch;
+ // The DLL_EXPORT flag should be defined on the command line during the build of a DLL
+ // configure conspires to make this happen.
+
+-#if defined(DLL_EXPORT)
++#if defined(XERCES_DLL_EXPORT)
+ #if defined(XERCES_BUILDING_LIBRARY)
+ #define XMLUTIL_EXPORT XERCES_PLATFORM_EXPORT
+ #define XMLPARSER_EXPORT XERCES_PLATFORM_EXPORT
+diff --git a/src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in b/src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in
+index e849e08..69fe3bf 100644
+--- a/src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in
++++ b/src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in
+@@ -85,9 +85,6 @@
+ #define XERCES_PLATFORM_EXPORT @XERCES_PLATFORM_EXPORT@
+ #define XERCES_PLATFORM_IMPORT @XERCES_PLATFORM_IMPORT@
+ #define XERCES_TEMPLATE_EXTERN @XERCES_TEMPLATE_EXTERN@
+-#ifdef XERCES_DLL_EXPORT
+-# define DLL_EXPORT
+-#endif
+
+ // ---------------------------------------------------------------------------
+ // Include standard headers, if available, that we may rely on below.