From dbd4f93ee7d67a93bdf59a138dc8fc7df443a136 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 14 Apr 2013 22:10:58 -0700 Subject: gruel: added include guards for gr_intrusive_ptr.i --- gruel/src/swig/gr_intrusive_ptr.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gruel/src/swig') diff --git a/gruel/src/swig/gr_intrusive_ptr.i b/gruel/src/swig/gr_intrusive_ptr.i index 40c438d00..dc6004f44 100644 --- a/gruel/src/swig/gr_intrusive_ptr.i +++ b/gruel/src/swig/gr_intrusive_ptr.i @@ -1,3 +1,5 @@ +#ifndef SWIG_INTRUSIVE_PTR_NAMESPACE + // This file was borrowed from the SWIG project to allow use to // wrap PMTs that use intrusive pointers. This is only necessary // to support backwards compatability with older distributions of @@ -99,4 +101,4 @@ SWIG_INTRUSIVE_PTR_TYPEMAPS_NO_WRAP(PROXYCLASS, const, TYPE) } %enddef - +#endif //SWIG_INTRUSIVE_PTR_NAMESPACE -- cgit