summaryrefslogtreecommitdiff
path: root/include/gras
diff options
context:
space:
mode:
authorJosh Blum2013-09-08 22:31:08 -0700
committerJosh Blum2013-09-08 22:31:08 -0700
commit7c4911c28c28305ed4d1aab9b5ea82f96b49f404 (patch)
tree8cf1452a0f8449311e30d42c131af3696a6f69c5 /include/gras
parent0d100e04d88ba301380dd3fb18782ad08ca1f194 (diff)
downloadsandhi-7c4911c28c28305ed4d1aab9b5ea82f96b49f404.tar.gz
sandhi-7c4911c28c28305ed4d1aab9b5ea82f96b49f404.tar.bz2
sandhi-7c4911c28c28305ed4d1aab9b5ea82f96b49f404.zip
gras: sortof include guard for intrusive_ptr.i
Diffstat (limited to 'include/gras')
-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>;
////////////////////////////////////////////////////////////////////////