Modified to work with winmain.c for compile under MinGW
This commit is contained in:
parent
47e726bf12
commit
e733f2e8b3
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue