Work around a MINGW32 error by avoiding a duplicate optarg/optind declaration

This commit is contained in:
Thomas Jensen
2023-12-29 15:14:42 +01:00
parent e3ec4c06b5
commit 4c3ce7952b

View File

@ -40,8 +40,10 @@
#include "cmdline.h"
#if !defined(__MINGW32__)
extern char *optarg; /* for getopt() */
extern int optind; /* for getopt() */
#endif
/* default tab stop distance (part of -t) */