summaryrefslogtreecommitdiff
path: root/Examples/test-suite/template_inherit_abstract.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/template_inherit_abstract.i')
-rw-r--r--Examples/test-suite/template_inherit_abstract.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/template_inherit_abstract.i b/Examples/test-suite/template_inherit_abstract.i
index 61743f9a5..b2d29c943 100644
--- a/Examples/test-suite/template_inherit_abstract.i
+++ b/Examples/test-suite/template_inherit_abstract.i
@@ -57,7 +57,7 @@ namespace oss
%inline %{
namespace oss
{
-#ifdef SWIGCSHARP
+#if defined(SWIG) && defined(SWIGCSHARP)
%ignore HModule<B>::get(); // Work around for lack of multiple inheritance support - base ModuleBase is ignored.
#endif
struct test : HModule<B>