From cc85a98f73f5ad9d3800bc9b6589eb2eda5fad38 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 28 Nov 2011 06:38:46 +0000 Subject: [PATCH] Remove duplicate macros when using -external-runtime git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12847 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/main.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx index 4fe5a3f11..d2f5d3bc0 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx @@ -418,13 +418,6 @@ static void SWIG_dump_runtime() { Printf(runtime, "%s", s); Delete(s); - s = Swig_include_sys("swigerrors.swg"); - if (!s) { - Printf(stderr, "*** Unable to open 'swigerrors.swg'\n"); - Close(runtime); - SWIG_exit(EXIT_FAILURE); - } - Printf(runtime, "%s", s); s = Swig_include_sys("swigrun.swg"); if (!s) { Printf(stderr, "*** Unable to open 'swigrun.swg'\n");