summaryrefslogtreecommitdiff
path: root/python/tag.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/tag.cc')
-rw-r--r--python/tag.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tag.cc b/python/tag.cc
index 6ae439f5..46fb8f34 100644
--- a/python/tag.cc
+++ b/python/tag.cc
@@ -517,6 +517,7 @@ PyObject *ParseTagFile(PyObject *self,PyObject *Args) {
}
#endif
/*}}}*/
+#ifdef HAVE_OPEN_MEMSTREAM
// RewriteSection - Rewrite a section.. /*{{{*/
// ---------------------------------------------------------------------
/* An interesting future extension would be to add a user settable
@@ -586,6 +587,7 @@ PyObject *RewriteSection(PyObject *self,PyObject *Args)
return HandleErrors(ResObj);
}
/*}}}*/
+#endif // HAVE_OPEN_MEMSTREAM
// Method table for the Tag Section object
static PyMethodDef TagSecMethods[] =