Skip to content

Commit

Permalink
Enable wildcard expandion for MingW
Browse files Browse the repository at this point in the history
The new compiler has it disabled by default.
  • Loading branch information
amadvance committed Nov 12, 2016
1 parent 36a369b commit 7e06b91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
#include <config.h>
#endif

/* Enable automatic command line wildcard expandion in mingw-w64 */
/* See: https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-crt/crt/wildcard.c */
#ifdef __MINGW32__
int _dowildcard = -1;
#endif

#if !HAVE_GETOPT

/* This source is extracted from the DJGPP LIBC library */
Expand Down

0 comments on commit 7e06b91

Please sign in to comment.