summaryrefslogtreecommitdiff
path: root/python/tag.cc
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-08-31 19:59:05 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-08-31 20:02:04 +0400
commit798846ab8337471998b0a4d796d6d409453faa7d (patch)
tree7ef72ffb21b6b5feb711549cb8176ab4380b6b90 /python/tag.cc
parenta17aaae3832f627965d2308b63ed90aca4f8872f (diff)
downloadpython-apt-798846ab8337471998b0a4d796d6d409453faa7d.tar.gz
Use HAVE_OPEN_MEMSTREAM
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[] =