Skip to content

Commit ab96f8a

Browse files
wraethtbonfort
authored andcommitted
Fix compilation error when libxml2 disabled (#5249)
1 parent e8920e7 commit ab96f8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mapwcs20.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ static int msWCSParseScaleExtentString20(char *string, char *outAxis,
700700
return MS_SUCCESS;
701701
}
702702

703+
#if defined(USE_LIBXML2)
703704
/*
704705
Utility function to get the first child of a node with a given node name
705706
*/
@@ -739,6 +740,7 @@ xmlNodePtr msLibXml2GetFirstChildNs(xmlNodePtr parent, const char *name, xmlNsPt
739740
}
740741
return NULL;
741742
}
743+
#endif /* defined(USE_LIBXML2) */
742744

743745
/************************************************************************/
744746
/* msWCSParseRequest20_XMLGetCapabilities() */

0 commit comments

Comments
 (0)