summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------PMC0
-rw-r--r--include/gras/sbuffer.i2
2 files changed, 2 insertions, 0 deletions
diff --git a/PMC b/PMC
-Subproject 237d451b44c9a8a43eb45589525b3828308bde5
+Subproject a08e9bc5a4d5290a179b42eabf913302119830a
diff --git a/include/gras/sbuffer.i b/include/gras/sbuffer.i
index 2e86d03..5008ae7 100644
--- a/include/gras/sbuffer.i
+++ b/include/gras/sbuffer.i
@@ -13,8 +13,10 @@
////////////////////////////////////////////////////////////////////////
// comprehend base class
////////////////////////////////////////////////////////////////////////
+#ifndef SWIG_INTRUSIVE_PTR_NAMESPACE
#define SWIG_INTRUSIVE_PTR_NAMESPACE boost
%include <intrusive_ptr.i>
+#endif
%template (boost_intrusive_ptr_gras_sbuffer_impl) boost::intrusive_ptr<gras::SBufferImpl>;
////////////////////////////////////////////////////////////////////////