summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gras/sbuffer.i2
1 files changed, 2 insertions, 0 deletions
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>;
////////////////////////////////////////////////////////////////////////