Browse Source

Modified to work with winmain.c for compile under MinGW

pre-master-46
sjborley 21 years ago
parent
commit
e733f2e8b3
  1. 9
      src/nghelp.c

9
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;

Loading…
Cancel
Save