Do not compile in fcn main() when shared ngspice is made

This commit is contained in:
Holger Vogt 2020-07-25 18:07:09 +02:00
parent 5e96739dd7
commit 50c7625082
1 changed files with 2 additions and 1 deletions

View File

@ -806,6 +806,7 @@ static void print_news(void)
#define main xmain
#endif
#ifndef SHARED_MODULE
int main(int argc, char **argv)
{
char log_file[BSIZE_SP];
@ -1444,5 +1445,5 @@ int main(int argc, char **argv)
}
} /* end of function main */
#endif