summaryrefslogtreecommitdiff
path: root/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-02-16 20:13:02 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-02-16 20:13:02 +0000
commitb60736ec1405bb0a8dd40989f67ef4c93da068ab (patch)
tree5c43fbb7c9fc45f0f87e0e6795a86267dbd12f9d /llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
parentcfca06d7963fa0909f90483b42a6d7d194d01e08 (diff)
Diffstat (limited to 'llvm/lib/WindowsManifest/WindowsManifestMerger.cpp')
-rw-r--r--llvm/lib/WindowsManifest/WindowsManifestMerger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp b/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
index 031a963cd3b0..6af7bc699d05 100644
--- a/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
+++ b/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
@@ -16,7 +16,7 @@
#include <map>
-#if LLVM_LIBXML2_ENABLED
+#if LLVM_ENABLE_LIBXML2
#include <libxml/xmlreader.h>
#endif
@@ -41,7 +41,7 @@ public:
private:
static void errorCallback(void *Ctx, const char *Format, ...);
Error getParseError();
-#if LLVM_LIBXML2_ENABLED
+#if LLVM_ENABLE_LIBXML2
xmlDocPtr CombinedDoc = nullptr;
std::vector<xmlDocPtr> MergedDocs;
@@ -56,7 +56,7 @@ private:
bool ParseErrorOccurred = false;
};
-#if LLVM_LIBXML2_ENABLED
+#if LLVM_ENABLE_LIBXML2
static constexpr std::pair<StringLiteral, StringLiteral> MtNsHrefsPrefixes[] = {
{"urn:schemas-microsoft-com:asm.v1", "ms_asmv1"},