mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-08-14 17:08:53 +02:00
Work around a MINGW32 error by avoiding a duplicate optarg/optind declaration
This commit is contained in:
@ -40,8 +40,10 @@
|
|||||||
#include "cmdline.h"
|
#include "cmdline.h"
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__MINGW32__)
|
||||||
extern char *optarg; /* for getopt() */
|
extern char *optarg; /* for getopt() */
|
||||||
extern int optind; /* for getopt() */
|
extern int optind; /* for getopt() */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* default tab stop distance (part of -t) */
|
/* default tab stop distance (part of -t) */
|
||||||
|
Reference in New Issue
Block a user