Prevent redefinition warnings when compiling with SWIG<module> defined

Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
This commit is contained in:
Petre Eftime 2015-12-22 14:33:21 +02:00
commit 0a07cd4c30
20 changed files with 23 additions and 47 deletions

View file

@ -165,9 +165,7 @@ public:
Swig_banner(f_begin);
Printf(f_runtime, "\n");
Printf(f_runtime, "#define SWIGTCL\n");
Printf(f_runtime, "\n");
Printf(f_runtime, "\n\n#ifndef SWIGTCL\n#define SWIGTCL\n#endif\n\n");
/* Set the module name, namespace, and prefix */