From e733f2e8b33e59498a738b45753814d7dd50c90b Mon Sep 17 00:00:00 2001 From: sjborley Date: Tue, 17 May 2005 21:44:53 +0000 Subject: [PATCH] Modified to work with winmain.c for compile under MinGW --- src/nghelp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/nghelp.c b/src/nghelp.c index ed01281d5..f281b79a5 100644 --- a/src/nghelp.c +++ b/src/nghelp.c @@ -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;