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

@ -958,9 +958,7 @@ MODULA3():
Swig_banner(f_begin);
Printf(f_runtime, "\n");
Printf(f_runtime, "#define SWIGMODULA3\n");
Printf(f_runtime, "\n");
Printf(f_runtime, "\n\n#ifndef SWIGMODULA3\n#define SWIGMODULA3\n#endif\n\n");
Swig_name_register("wrapper", "Modula3_%f");
if (old_variable_names) {