From 082aadb6b3949046e668b10d4cdc59ac5e0f07b5 Mon Sep 17 00:00:00 2001
From: Andrea Shepard <andrea@persephoneslair.org>
Date: Mon, 21 Nov 2016 02:57:00 +0000
Subject: [PATCH] swig3.0 needs -DSWIG2_CSHARP to emit 'using System;'
 directive

---
 src/bindings/dotnet/SConscript | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bindings/dotnet/SConscript b/src/bindings/dotnet/SConscript
index afa4c30d..1636c663 100644
--- a/src/bindings/dotnet/SConscript
+++ b/src/bindings/dotnet/SConscript
@@ -11,6 +11,7 @@ dotnetenv.Append(CCFLAGS=["-fpic", '-DSWIG', '-Wno-all',
               LIBS=['hammer'],
               LIBPATH=["../.."],
               SWIGFLAGS=["-DHAMMER_INTERNAL__NO_STDARG_H",
+                         "-DSWIG2_CSHARP",
                          "-Isrc/", "-csharp",
                          "-dllimport","hammer_dotnet",
                          "-namespace", "Hammer.Internal"])
-- 
GitLab