Modified to work with winmain.c for compile under MinGW

This commit is contained in:
sjborley 2005-05-17 21:44:53 +00:00
parent 47e726bf12
commit e733f2e8b3
1 changed files with 9 additions and 0 deletions

View File

@ -36,8 +36,17 @@ char *hlp_filelist[] = { "ngspice", 0 };
extern void ivars();
#ifdef HAS_WINDOWS
bool oflag = FALSE; /* Output over redefined I/O functions */
FILE *flogp; /* hvogt 15.12.2001 */
#endif /* HAS_WINDOWS */
int
#ifdef HAS_WINDOWS
xmain(int ac, char **av)
#else
main(int ac, char **av)
#endif /* HAS_WINDOWS */
{
wordlist *wl = NULL;