From 7c4911c28c28305ed4d1aab9b5ea82f96b49f404 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 8 Sep 2013 22:31:08 -0700 Subject: gras: sortof include guard for intrusive_ptr.i --- include/gras/sbuffer.i | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gras') 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 +#endif %template (boost_intrusive_ptr_gras_sbuffer_impl) boost::intrusive_ptr; //////////////////////////////////////////////////////////////////////// -- cgit