Skip to content

Commit

Permalink
mapmetadata: disable if compile-time features are missing
Browse files Browse the repository at this point in the history
Fixes build breakage.
  • Loading branch information
MaxKellermann committed Oct 5, 2021
1 parent 59c6c03 commit d82a348
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapmetadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include "mapowscommon.h"
#include "maplibxml2.h"

#if defined(USE_WMS_SVR) || defined (USE_WFS_SVR) || defined (USE_WCS_SVR) || defined(USE_SOS_SVR) || defined(USE_WMS_LYR) || defined(USE_WFS_LYR)

#ifdef USE_LIBXML2

/************************************************************************/
Expand Down Expand Up @@ -949,3 +951,4 @@ void msMetadataSetGetMetadataURL(layerObj *lp, const char *url)
msFree(pszMetadataURL);
}

#endif

0 comments on commit d82a348

Please sign in to comment.