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